add dot syntax
This commit is contained in:
13
Makefile
13
Makefile
@ -7,7 +7,7 @@ SCRIPT_DEST := $(SCRIPT_SRC:src/%=$(DIST_DIR)/%)
|
||||
default: build
|
||||
|
||||
clean:
|
||||
git clean -fXd
|
||||
git clean -fXd -e !src/config.pug
|
||||
|
||||
|
||||
install: node_modules copy_lib copy_samples submodules
|
||||
@ -37,7 +37,7 @@ node_modules:
|
||||
copy_lib:
|
||||
@node copy_lib.js
|
||||
|
||||
# sample
|
||||
# samples
|
||||
copy_samples:
|
||||
@cp -n src/config.sample.pug src/config.pug
|
||||
|
||||
@ -57,11 +57,16 @@ $(DIST_DIR)/%.js: src/%.js
|
||||
@mkdir -p $(dir $@)
|
||||
@node_modules/.bin/babel $< --out-file $@ --source-maps || touch $@
|
||||
|
||||
buildprod:
|
||||
buildprod: build
|
||||
export SDN="https://test-paris.happy-dev.fr"; \
|
||||
$(MAKE) $(DIST_DIR)/index.html -B
|
||||
|
||||
deploy: pull install bluid
|
||||
|
||||
pull:
|
||||
git pull
|
||||
|
||||
sync:
|
||||
rsync -rv www/* staging-app@ssh-staging-app.happy-dev.fr:~/staging-app.happy-dev.fr/ --exclude=www/oidc-client-config.json
|
||||
|
||||
.PHONY: default install submodules copy_lib copy_samples build watch serve clean sync buildprod
|
||||
.PHONY: default install submodules copy_lib copy_samples build watch serve clean sync buildprod pull deploy
|
Reference in New Issue
Block a user