Last active
January 23, 2019 13:27
-
-
Save luizcarraro/5c3910f8da76ea15fcd91107af063067 to your computer and use it in GitHub Desktop.
my personal Rc file
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 characters
alias reload='pm2 reload ${PWD##*/} && pm2 logs ${PWD##*/}' | |
alias pull='git pull' | |
alias dev='git checkout dev' | |
alias master='git checkout master' | |
alias rc='git checkout rc' | |
alias stage='git checkout dev && git pull origin dev && git checkout rc && git pull origin rc && git merge dev --no-ff && git push origin rc && git checkout dev && git merge rc && git push origin dev && git checkout rc && echo -e "\n Ok! \n\nPronto para gerar uma nova versão."' | |
alias deploy='~/luizutils/deploy.sh' | |
alias build='emberBuild' | |
emberBuild() { | |
if [[ $1 && $1 = "p" ]]; then | |
echo "BUILDING PRODUCTION" | |
npm run build-production | |
else | |
echo "BUILDING STAGING" | |
npm run build-staging | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment