Skip to content

Commit

Permalink
chore: update to version 1.0.38
Browse files Browse the repository at this point in the history
  • Loading branch information
nalancer08 committed Dec 6, 2024
1 parent 6a32984 commit d334c5a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
27 changes: 21 additions & 6 deletions bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,33 @@ switch (args[0]) {

case 'dev':
try {
execSync('grunt --env=development', { stdio: 'inherit', cwd: __dirname });
execSync('grunt --env=development', { stdio: 'inherit', cwd: __dirname });
} catch (error) {
console.error('Error ejecutando grunt:', error.message);
console.error('Error ejecutando grunt:', error.message);
}
break;

default:
const isoletedEnv = args[0].split(':')[1];
case 'build:qa':
try {
execSync('grunt build --env=' + isoletedEnv, { stdio: 'inherit', cwd: __dirname });
execSync('grunt build --env=qa', { stdio: 'inherit', cwd: __dirname });
} catch (error) {
console.error('Error ejecutando grunt:', error.message);
console.error('Error ejecutando grunt:', error.message);
}
break;

case 'build:staging':
try {
execSync('grunt build --env=staging', { stdio: 'inherit', cwd: __dirname });
} catch (error) {
console.error('Error ejecutando grunt:', error.message);
}
break;

case 'build:prod':
try {
execSync('grunt build --env=production', { stdio: 'inherit', cwd: __dirname });
} catch (error) {
console.error('Error ejecutando grunt:', error.message);
}
break;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-jet",
"version": "1.0.37",
"version": "1.0.38",
"description": "VannilaJet framework",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit d334c5a

Please sign in to comment.