diff options
author | Raccoon | 2017-03-03 09:22:35 +0800 |
---|---|---|
committer | GitHub | 2017-03-03 09:22:35 +0800 |
commit | 48592d692c2b8a71e3ca9e7f0bc34f230eea1542 (patch) | |
tree | 053538d49b92121e29e0e576d2e5e0b249d28537 /bin | |
parent | a8b99638b2bc4db0dffd643b96287faf4f97e030 (diff) | |
parent | 0bea4da6238b1f46562b146b32d88fc8d8b9060a (diff) |
Merge branch 'master' into feature/addSecrets
Diffstat (limited to '')
-rwxr-xr-x | bin/heroku | 4 | ||||
-rwxr-xr-x | bin/setup | 6 |
2 files changed, 3 insertions, 7 deletions
@@ -28,8 +28,6 @@ EOF EOF - cp public/js/config.js.example public/js/config.js - # build app - npm run build:prod + npm run build fi @@ -1,5 +1,7 @@ #!/bin/bash +set -e + # run command at repo root CURRENT_PATH=$PWD if [ -d .git ]; then @@ -21,10 +23,6 @@ if [ ! -f config.json ]; then cp config.json.example config.json fi -if [ ! -f publis/js/config.js ]; then - cp public/js/config.js.example public/js/config.js -fi - if [ ! -f .sequelizerc ]; then cp .sequelizerc.example .sequelizerc fi |