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
#!/bin/bash | |
# make this shell script executable: 'chmod +x ./pu.sh' | |
# Usage: ./pu.sh {pm2 deployment branch} {commit message} | |
# ./pu.sh develop "Changes for develop branch" | |
# ./pu.sh production "Changes for production branch" | |
echo "Adding latest changes..." | |
git add . | |
echo "Displaying changes: " | |
git status |
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
#!/bin/bash | |
# Clean the project using yarn | |
# make executable: `chmod +x ./clean.sh` | |
# call from package.json with `yarn clean` | |
# { "scripts": { "clean": "bash ./scripts/clean.sh" } | |
echo 'Cleaning Project...' | |
# remove metro and watchman temp directories | |
echo 'Removing metro and watchman temp DIRs' |