add sib-oidc
This commit is contained in:
11
Makefile
11
Makefile
@ -40,7 +40,6 @@ copy_lib:
|
||||
# sample
|
||||
copy_samples:
|
||||
@cp -n src/config.sample.pug src/config.pug
|
||||
@cp -n www/oidc-client-config.sample.json www/oidc-client-config.json
|
||||
|
||||
# pug
|
||||
$(DIST_DIR)/index.html: src/index.pug $(wildcard src/*.pug src/*/*.pug)
|
||||
@ -58,7 +57,11 @@ $(DIST_DIR)/%.js: src/%.js
|
||||
@mkdir -p $(dir $@)
|
||||
@node_modules/.bin/babel $< --out-file $@ --source-maps || touch $@
|
||||
|
||||
sync:
|
||||
rsync -rv www/* staging-app@ssh-staging-app.happy-dev.fr:~/staging-app.happy-dev.fr/
|
||||
buildprod:
|
||||
export SDN="https://test-paris.happy-dev.fr"; \
|
||||
$(MAKE) $(DIST_DIR)/index.html -B
|
||||
|
||||
.PHONY: default install submodules copy_lib copy_samples build watch serve clean
|
||||
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
|
||||
Reference in New Issue
Block a user