Skip to content

Commit

Permalink
runfile tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrunic committed May 7, 2018
1 parent b73cc0e commit 43f2804
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import * as contracts from './tasks/contracts';
export { node, contracts };

export function clean() {
contracts.clean();
run('rm -rf node_modules');
run('rm -rf build');
}


Expand Down
2 changes: 1 addition & 1 deletion tasks/contracts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { help, run } from 'runjs';

export function clean() {
run('rm -rf build');
run('docker-compose run --rm backend rm -rf build');
}

export function deploy(env) {
Expand Down
1 change: 0 additions & 1 deletion tasks/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ export function dev() {
run('docker-compose up');
}


help(test, 'Runs nodejs tests');
help(dev, 'Starts application and all dependent services');

0 comments on commit 43f2804

Please sign in to comment.