Executes a local (git-ignored) script on "make deploy".
This commit is contained in:
parent
6ca1e131af
commit
deaff6af5b
|
@ -3,3 +3,4 @@ node_modules
|
||||||
.idea/
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
.*.tmp
|
.*.tmp
|
||||||
|
deploy-local.sh
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -18,7 +18,10 @@ app:
|
||||||
$(NPM) update && $(BROWSERIFY) $(FLAGS) app.js -s APP -o $(OUTPUT_DIR)/app.bundle.js
|
$(NPM) update && $(BROWSERIFY) $(FLAGS) app.js -s APP -o $(OUTPUT_DIR)/app.bundle.js
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f $(OUTPUT_DIR)/*.bundle.js
|
rm -f $(OUTPUT_DIR)/*.bundle.js
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
@mkdir -p $(DEPLOY_DIR) && cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) && ./bump-js-versions.sh
|
mkdir -p $(DEPLOY_DIR) && \
|
||||||
|
cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) && \
|
||||||
|
./bump-js-versions.sh && \
|
||||||
|
([ ! -x deploy-local.sh ] || ./deploy-local.sh)
|
||||||
|
|
Loading…
Reference in New Issue