Last active
May 15, 2017 04:03
-
-
Save joshuacullenlux/9a0c745f6cb9927ed45c4637602801da to your computer and use it in GitHub Desktop.
Start apps
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
#!/bin/bash | |
#projects=( proxy svc-offer svc-reservation www-le-admin www-le-customer svc-voucher) | |
projects=( proxy svc-offer svc-reservation www-le-admin www-le-customer) | |
commands=( start dev start start dev "run hot") | |
count=0 | |
for i in "${projects[@]}" | |
do | |
terminator --new-tab -e "cd ~/Projects/${i} && yarn ${commands[${count}]}" | |
count=$[$count+1] | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment