Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add underscore to original sounds folder and build feature into jakef…

…ile to ignore .dotfiles and folders with underscores.
  • Loading branch information...
commit c96227bbe11804a550e82cc35b8ff49fccc35233 1 parent b9da69e
Mauvis Ledford authored

Showing 24 changed files with 5 additions and 12 deletions. Show diff stats Hide diff stats

  1. +5 12 Jakefile
  2. 0  src/sounds/ki/{originals → _originals}/blaster-combo.wav
  3. 0  src/sounds/ki/{originals → _originals}/fulgore-laser.wav
  4. 0  src/sounds/ki/{originals → _originals}/hyper-combo.wav
  5. 0  src/sounds/ki/{originals → _originals}/monster-combo.wav
  6. 0  src/sounds/ki/{originals → _originals}/orchid-laserken.wav
  7. 0  src/sounds/ki/{originals → _originals}/perfect.wav
  8. 0  src/sounds/ki/{originals → _originals}/super-combo.wav
  9. 0  src/sounds/ki/{originals → _originals}/supreme-victory.wav
  10. 0  src/sounds/ki/{originals → _originals}/ultra-combo.wav
  11. 0  src/sounds/random/{ → _originals/originals}/all.wav
  12. 0  src/sounds/random/{ → _originals/originals}/applause.wav
  13. 0  src/sounds/random/{ → _originals/originals}/cheering.wav
  14. 0  src/sounds/random/{ → _originals/originals}/fanfare.wav
  15. 0  src/sounds/random/{ → _originals/originals}/mmmm.wav
  16. 0  src/sounds/random/{ → _originals}/originals/whahwhah.wav
  17. 0  src/sounds/random/{ → _originals}/originals/woow.wav
  18. BIN  src/sounds/random/originals/all.wav
  19. BIN  src/sounds/random/originals/applause.wav
  20. BIN  src/sounds/random/originals/cheering.wav
  21. BIN  src/sounds/random/originals/fanfare.wav
  22. BIN  src/sounds/random/originals/mmmm.wav
  23. BIN  src/sounds/random/whahwhah.wav
  24. BIN  src/sounds/random/woow.wav
17 Jakefile
@@ -470,8 +470,13 @@ function listFilesRecursive(sourceDir){
470 470 var filesToCheck = fs.readdirSync(sourceDir);
471 471 for(var i = 0; i < filesToCheck.length; i++) {
472 472 var filePath = platformProofPath(sourceDir + filesToCheck[i]);
  473 + // Ignore hidden dot files and _underscore folders.
  474 + if (filePath.match(/^\..+|\/\..+/) || filePath.match(/.+\/_.+/) ){
  475 + continue;
  476 + }
473 477 var currFile = fs.lstatSync(filePath);
474 478 if(currFile.isDirectory()) {
  479 + console.log('filePath', filePath);
475 480 files = files.concat(listFilesRecursive(filePath+'/'));
476 481 } else {
477 482 files.push(sourceDir+filesToCheck[i]);
@@ -782,23 +787,11 @@ namespace('deploy', function () {
782 787 execLog("ssh " + QA_SERVER_USER + "@" + QA_SERVER_IP + " './bin/" + QA_DEPLOY_SCRIPT + "'");
783 788 });
784 789
785   - desc('Update QA env to latest codebase in stable');
786   - task('qa-stable', [], function(params) {
787   - console.log('Deploying stable to ' + APP_QA_DOMAIN + '...');
788   - execLog("ssh " + QA_SERVER_USER + "@" + QA_SERVER_IP + " './bin/deploy-qa-from-stable.sh'");
789   - });
790   -
791 790 desc('Update prod env to latest codebase in master');
792 791 task('prod', [], function(params) {
793 792 console.log('Deploying to ' + APP_DOMAIN + '...');
794 793 execLog("ssh " + PROD_SERVER_USER + "@" + PROD_SERVER_IP + " './bin/" + PROD_DEPLOY_SCRIPT + "'");
795 794 });
796   -
797   - desc('Update prod env to latest codebase in stable');
798   - task('prod-stable', [], function(params) {
799   - console.log('Deploying stable to ' + APP_DOMAIN + '...');
800   - execLog("ssh " + PROD_SERVER_USER + "@" + PROD_SERVER_IP + " './bin/deploy-prod-from-stable.sh'");
801   - });
802 795 });
803 796
804 797 /****************/
0  src/sounds/ki/originals/blaster-combo.wav → src/sounds/ki/_originals/blaster-combo.wav
File renamed without changes
0  src/sounds/ki/originals/fulgore-laser.wav → src/sounds/ki/_originals/fulgore-laser.wav
File renamed without changes
0  src/sounds/ki/originals/hyper-combo.wav → src/sounds/ki/_originals/hyper-combo.wav
File renamed without changes
0  src/sounds/ki/originals/monster-combo.wav → src/sounds/ki/_originals/monster-combo.wav
File renamed without changes
0  src/sounds/ki/originals/orchid-laserken.wav → src/sounds/ki/_originals/orchid-laserken.wav
File renamed without changes
0  src/sounds/ki/originals/perfect.wav → src/sounds/ki/_originals/perfect.wav
File renamed without changes
0  src/sounds/ki/originals/super-combo.wav → src/sounds/ki/_originals/super-combo.wav
File renamed without changes
0  src/sounds/ki/originals/supreme-victory.wav → src/sounds/ki/_originals/supreme-victory.wav
File renamed without changes
0  src/sounds/ki/originals/ultra-combo.wav → src/sounds/ki/_originals/ultra-combo.wav
File renamed without changes
0  src/sounds/random/all.wav → src/sounds/random/_originals/originals/all.wav
File renamed without changes
0  src/sounds/random/applause.wav → src/sounds/random/_originals/originals/applause.wav
File renamed without changes
0  src/sounds/random/cheering.wav → src/sounds/random/_originals/originals/cheering.wav
File renamed without changes
0  src/sounds/random/fanfare.wav → src/sounds/random/_originals/originals/fanfare.wav
File renamed without changes
0  src/sounds/random/mmmm.wav → src/sounds/random/_originals/originals/mmmm.wav
File renamed without changes
0  src/sounds/random/originals/whahwhah.wav → src/sounds/random/_originals/originals/whahwhah.wav
File renamed without changes
0  src/sounds/random/originals/woow.wav → src/sounds/random/_originals/originals/woow.wav
File renamed without changes
BIN  src/sounds/random/originals/all.wav
Binary file not shown
BIN  src/sounds/random/originals/applause.wav
Binary file not shown
BIN  src/sounds/random/originals/cheering.wav
Binary file not shown
BIN  src/sounds/random/originals/fanfare.wav
Binary file not shown
BIN  src/sounds/random/originals/mmmm.wav
Binary file not shown
BIN  src/sounds/random/whahwhah.wav
Binary file not shown
BIN  src/sounds/random/woow.wav
Binary file not shown

0 comments on commit c96227b

Please sign in to comment.
Something went wrong with that request. Please try again.