From 78c51e5e88bcd4a3d53a87a53f8dc85d9a5a2df4 Mon Sep 17 00:00:00 2001 From: bananaappletw Date: Wed, 4 Jan 2017 14:27:38 +0800 Subject: Revert "Rename npm script" This reverts commit ed83dfc862768572eab0c2aed629b1700ac9e224. --- bin/heroku | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/heroku b/bin/heroku index 6ee7fa41..e8010038 100755 --- a/bin/heroku +++ b/bin/heroku @@ -31,5 +31,5 @@ EOF cp public/js/config.js.example public/js/config.js # build app - npm run build:prod + npm run build fi -- cgit v1.2.3 From 1ed19966394b9735c348ec0116ec0e939c363ce6 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Fri, 13 Jan 2017 23:37:16 +0800 Subject: Remove config.js from setup files --- bin/heroku | 2 -- bin/setup | 4 ---- 2 files changed, 6 deletions(-) (limited to 'bin') diff --git a/bin/heroku b/bin/heroku index e8010038..1228b283 100755 --- a/bin/heroku +++ b/bin/heroku @@ -28,8 +28,6 @@ EOF EOF - cp public/js/config.js.example public/js/config.js - # build app npm run build fi diff --git a/bin/setup b/bin/setup index e24d4de7..6724b2d5 100755 --- a/bin/setup +++ b/bin/setup @@ -21,10 +21,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 -- cgit v1.2.3 From 9122ccd1b8dc4d6a41aaa0794e80b5e06f2484d5 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Mon, 23 Jan 2017 06:11:20 +0100 Subject: Add fail fast option Fail the script if a command inside it fails to prevent a install with exitcode 0 even when commands in it are failing.--- bin/setup | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/setup b/bin/setup index 6724b2d5..3f143cd3 100755 --- a/bin/setup +++ b/bin/setup @@ -1,5 +1,7 @@ #!/bin/bash +set -e + # run command at repo root CURRENT_PATH=$PWD if [ -d .git ]; then -- cgit v1.2.3