Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 krunkosaurus authored
Showing with 5 additions and 12 deletions.
  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/all.wav
  19. BIN  src/sounds/random/applause.wav
  20. BIN  src/sounds/random/cheering.wav
  21. BIN  src/sounds/random/fanfare.wav
  22. BIN  src/sounds/random/mmmm.wav
  23. BIN  src/sounds/random/originals/whahwhah.wav
  24. BIN  src/sounds/random/originals/woow.wav
17 Jakefile
View
@@ -470,8 +470,13 @@ function listFilesRecursive(sourceDir){
var filesToCheck = fs.readdirSync(sourceDir);
for(var i = 0; i < filesToCheck.length; i++) {
var filePath = platformProofPath(sourceDir + filesToCheck[i]);
+ // Ignore hidden dot files and _underscore folders.
+ if (filePath.match(/^\..+|\/\..+/) || filePath.match(/.+\/_.+/) ){
+ continue;
+ }
var currFile = fs.lstatSync(filePath);
if(currFile.isDirectory()) {
+ console.log('filePath', filePath);
files = files.concat(listFilesRecursive(filePath+'/'));
} else {
files.push(sourceDir+filesToCheck[i]);
@@ -782,23 +787,11 @@ namespace('deploy', function () {
execLog("ssh " + QA_SERVER_USER + "@" + QA_SERVER_IP + " './bin/" + QA_DEPLOY_SCRIPT + "'");
});
- desc('Update QA env to latest codebase in stable');
- task('qa-stable', [], function(params) {
- console.log('Deploying stable to ' + APP_QA_DOMAIN + '...');
- execLog("ssh " + QA_SERVER_USER + "@" + QA_SERVER_IP + " './bin/deploy-qa-from-stable.sh'");
- });
-
desc('Update prod env to latest codebase in master');
task('prod', [], function(params) {
console.log('Deploying to ' + APP_DOMAIN + '...');
execLog("ssh " + PROD_SERVER_USER + "@" + PROD_SERVER_IP + " './bin/" + PROD_DEPLOY_SCRIPT + "'");
});
-
- desc('Update prod env to latest codebase in stable');
- task('prod-stable', [], function(params) {
- console.log('Deploying stable to ' + APP_DOMAIN + '...');
- execLog("ssh " + PROD_SERVER_USER + "@" + PROD_SERVER_IP + " './bin/deploy-prod-from-stable.sh'");
- });
});
/****************/
0  src/sounds/ki/originals/blaster-combo.wav → src/sounds/ki/_originals/blaster-combo.wav
View
File renamed without changes
0  src/sounds/ki/originals/fulgore-laser.wav → src/sounds/ki/_originals/fulgore-laser.wav
View
File renamed without changes
0  src/sounds/ki/originals/hyper-combo.wav → src/sounds/ki/_originals/hyper-combo.wav
View
File renamed without changes
0  src/sounds/ki/originals/monster-combo.wav → src/sounds/ki/_originals/monster-combo.wav
View
File renamed without changes
0  src/sounds/ki/originals/orchid-laserken.wav → src/sounds/ki/_originals/orchid-laserken.wav
View
File renamed without changes
0  src/sounds/ki/originals/perfect.wav → src/sounds/ki/_originals/perfect.wav
View
File renamed without changes
0  src/sounds/ki/originals/super-combo.wav → src/sounds/ki/_originals/super-combo.wav
View
File renamed without changes
0  src/sounds/ki/originals/supreme-victory.wav → src/sounds/ki/_originals/supreme-victory.wav
View
File renamed without changes
0  src/sounds/ki/originals/ultra-combo.wav → src/sounds/ki/_originals/ultra-combo.wav
View
File renamed without changes
0  src/sounds/random/originals/all.wav → src/sounds/random/_originals/originals/all.wav
View
File renamed without changes
0  src/sounds/random/originals/applause.wav → src/sounds/random/_originals/originals/applause.wav
View
File renamed without changes
0  src/sounds/random/originals/cheering.wav → src/sounds/random/_originals/originals/cheering.wav
View
File renamed without changes
0  src/sounds/random/originals/fanfare.wav → src/sounds/random/_originals/originals/fanfare.wav
View
File renamed without changes
0  src/sounds/random/originals/mmmm.wav → src/sounds/random/_originals/originals/mmmm.wav
View
File renamed without changes
0  src/sounds/random/whahwhah.wav → src/sounds/random/_originals/originals/whahwhah.wav
View
File renamed without changes
0  src/sounds/random/woow.wav → src/sounds/random/_originals/originals/woow.wav
View
File renamed without changes
BIN  src/sounds/random/all.wav
View
Binary file not shown
BIN  src/sounds/random/applause.wav
View
Binary file not shown
BIN  src/sounds/random/cheering.wav
View
Binary file not shown
BIN  src/sounds/random/fanfare.wav
View
Binary file not shown
BIN  src/sounds/random/mmmm.wav
View
Binary file not shown
BIN  src/sounds/random/originals/whahwhah.wav
View
Binary file not shown
BIN  src/sounds/random/originals/woow.wav
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.