add sib-oidc

This commit is contained in:
Clément
2018-10-12 19:11:13 +02:00
parent d6cd1a54ed
commit 78551c4579
15 changed files with 70 additions and 40 deletions

View File

@ -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