Permalink
Browse files

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

…ile to ignore .dotfiles and folders with underscores.
  • Loading branch information...
1 parent b9da69e commit c96227bbe11804a550e82cc35b8ff49fccc35233 @krunkosaurus krunkosaurus committed May 30, 2012
View
17 Jakefile
@@ -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'");
- });
});
/****************/
View
0 src/sounds/ki/originals/blaster-combo.wav → src/sounds/ki/_originals/blaster-combo.wav
File renamed without changes.
View
0 src/sounds/ki/originals/fulgore-laser.wav → src/sounds/ki/_originals/fulgore-laser.wav
File renamed without changes.
View
0 src/sounds/ki/originals/hyper-combo.wav → src/sounds/ki/_originals/hyper-combo.wav
File renamed without changes.
View
0 src/sounds/ki/originals/monster-combo.wav → src/sounds/ki/_originals/monster-combo.wav
File renamed without changes.
View
0 src/sounds/ki/originals/orchid-laserken.wav → src/sounds/ki/_originals/orchid-laserken.wav
File renamed without changes.
View
0 src/sounds/ki/originals/perfect.wav → src/sounds/ki/_originals/perfect.wav
File renamed without changes.
View
0 src/sounds/ki/originals/super-combo.wav → src/sounds/ki/_originals/super-combo.wav
File renamed without changes.
View
0 src/sounds/ki/originals/supreme-victory.wav → src/sounds/ki/_originals/supreme-victory.wav
File renamed without changes.
View
0 src/sounds/ki/originals/ultra-combo.wav → src/sounds/ki/_originals/ultra-combo.wav
File renamed without changes.
View
0 src/sounds/random/originals/all.wav → ...ounds/random/_originals/originals/all.wav
File renamed without changes.
View
0 src/sounds/random/originals/applause.wav → .../random/_originals/originals/applause.wav
File renamed without changes.
View
0 src/sounds/random/originals/cheering.wav → .../random/_originals/originals/cheering.wav
File renamed without changes.
View
0 src/sounds/random/originals/fanfare.wav → ...s/random/_originals/originals/fanfare.wav
File renamed without changes.
View
0 src/sounds/random/originals/mmmm.wav → ...unds/random/_originals/originals/mmmm.wav
File renamed without changes.
View
0 src/sounds/random/whahwhah.wav → .../random/_originals/originals/whahwhah.wav
File renamed without changes.
View
0 src/sounds/random/woow.wav → ...unds/random/_originals/originals/woow.wav
File renamed without changes.
View
BIN src/sounds/random/all.wav
Binary file not shown.
View
BIN src/sounds/random/applause.wav
Binary file not shown.
View
BIN src/sounds/random/cheering.wav
Binary file not shown.
View
BIN src/sounds/random/fanfare.wav
Binary file not shown.
View
BIN src/sounds/random/mmmm.wav
Binary file not shown.
View
BIN src/sounds/random/originals/whahwhah.wav
Binary file not shown.
View
BIN src/sounds/random/originals/woow.wav
Binary file not shown.

0 comments on commit c96227b

Please sign in to comment.