make.sh 195 B

1234567891011121314151617
  1. #!/bin/bash
  2. cd $(dirname $0)
  3. ROOT=$(pwd)
  4. source ./.env
  5. INSTALL="src/cnphper.com/model src/cnphper.com/redisdog"
  6. for ITEM in $INSTALL
  7. do
  8. echo $ITEM
  9. cd $ROOT/$ITEM
  10. go install
  11. done
  12. cd $ROOT