diff options
Diffstat (limited to 'bin')
-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 |