Conditions | 2 |
Paths | 2 |
Total Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | var program = require('commander'); |
||
14 | .action(function(enviroment) { |
||
15 | |||
16 | shell.mkdir('-p',['applications/assets/icons']); |
||
17 | |||
18 | shell.echo('Build Server Vagrant ('+enviroment+')'); |
||
19 | |||
20 | if ( enviroment === 'dev' ){ |
||
21 | |||
22 | // "clean:key": "rimraf server/plays/ssh/*.key && rimraf server/plays/ssh/*.pub", |
||
23 | // "clean:ssl": "rimraf server/plays/ssl/*.key && rimraf server/plays/ssl/*.crt && rimraf server/plays/ssl/*.pem", |
||
24 | |||
25 | // npm run clean:key && npm run clean:ssl && rimraf server/roles/external/* |
||
26 | // && |
||
27 | //cd server && vagrant destroy -f |
||
28 | |||
29 | } else { |
||
30 | |||
31 | //NOTHING ??? |
||
32 | |||
33 | } |
||
34 | |||
35 | }) |
||
36 | .parse(process.argv); |
||
48 |