Created
November 28, 2017 11:04
-
-
Save xuyuji9000/a136757459eb5c3e313a0d5b8db0e94b to your computer and use it in GitHub Desktop.
Revisions
-
xuyuji9000 created this gist
Nov 28, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/sh White='\033[1;36m' NC='\033[0m' # No Color case "$1" in "test" ) docker run --rm -it -v "$PWD":/app -w /app node:carbon-alpine /bin/sh -c "npm run test";; * ) echo "${White}test${NC}: run node test in docker" esac