use sample files
This commit is contained in:
9
Makefile
9
Makefile
@ -10,7 +10,7 @@ clean:
|
||||
git clean -fXd
|
||||
|
||||
|
||||
install: node_modules copy_lib submodules
|
||||
install: node_modules copy_lib copy_samples submodules
|
||||
|
||||
submodules:
|
||||
git submodule init
|
||||
@ -37,6 +37,11 @@ node_modules:
|
||||
copy_lib:
|
||||
@node copy_lib.js
|
||||
|
||||
# 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)
|
||||
@echo pug: $< ➜ $@
|
||||
@ -56,4 +61,4 @@ $(DIST_DIR)/%.js: src/%.js
|
||||
sync:
|
||||
rsync -rv www/* staging-app@ssh-staging-app.happy-dev.fr:~/staging-app.happy-dev.fr/
|
||||
|
||||
.PHONY: default install submodules copy_lib build watch serve clean
|
||||
.PHONY: default install submodules copy_lib copy_samples build watch serve clean
|
Reference in New Issue
Block a user