Last active
November 3, 2017 09:22
-
-
Save agent-simon-s/be9413c45737f54b6ee19f9dce713ec3 to your computer and use it in GitHub Desktop.
Sh: project function template
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
function myFn() { | |
cd /Users/Shared/Workspace/; pwd; | |
if [[ "$@" == "-g" ]] | |
then | |
echo "Checking Git Status"; git status; | |
else | |
#echo "NO status" | |
fi | |
if [[ "$@" == "-b" ]] | |
then | |
echo "Buiding";grunt serve; | |
else | |
#echo "NO build" | |
fi | |
if [[ "$@" == "-o" ]] | |
then | |
echo "Open in finder";open . | |
else | |
#echo "NO open" | |
fi | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment