Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Add local test scripts for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Nyambati committed Sep 26, 2016
1 parent 16260e4 commit 991569f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
.pipe(plugins.istanbul.hookRequire());
});


gulp.task('build-image', plugins.shell.task([
'docker build -t thomasnyambati/constable .'
]));
/**
* Start gulp
*/
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "tests"
},
"scripts": {
"test": "gulp test"
"test": "gulp test",
"test-dev":" gulp build-image \n docker run -i -t thomasnyambati/constable"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 991569f

Please sign in to comment.