Created
January 22, 2018 13:45
-
-
Save junjchen/adf98b9f5b5247c1bb2457934117eb85 to your computer and use it in GitHub Desktop.
my local config
This file contains 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 characters
b() { | |
case "$1" in | |
"app") | |
cd /c/src/Viagogo.Site && ./bin/build.bat | |
;; | |
"js") | |
cd /c/src/Viagogo.Site/Viagogo.Site.Script && gulp scripts | |
;; | |
"less") | |
cd /c/src/Viagogo.Site/Viagogo.Site && gulp styles:local | |
;; | |
"assets") | |
b js && b less | |
;; | |
"solution") | |
b app && b js && b less | |
;; | |
"dev") | |
cd /c/src/Viagogo.Site/Viagogo.Site.Script && gulp watch-scripts & | |
p1=$! | |
cd /c/src/Viagogo.Site/Viagogo.Site && gulp styles:watch:local & | |
p2=$! | |
wait $p1 $p2 | |
;; | |
*) | |
echo "b [app|js|less|assets|solution|dev]" | |
;; | |
esac | |
} | |
n() { | |
case "$1" in | |
"less") | |
python /c/Users/Junjie.Chen/scritps/vggExpLessGen.py $2 | |
;; | |
*) | |
echo "n [less]" | |
;; | |
esac | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment