Skip to content

Instantly share code, notes, and snippets.

@junjchen
Created January 22, 2018 13:45
Show Gist options
  • Save junjchen/adf98b9f5b5247c1bb2457934117eb85 to your computer and use it in GitHub Desktop.
Save junjchen/adf98b9f5b5247c1bb2457934117eb85 to your computer and use it in GitHub Desktop.
my local config
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