forked from Geoportail-Luxembourg/geoportailv3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pgiraud.mk
26 lines (21 loc) · 866 Bytes
/
pgiraud.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
INSTANCE_ID = pgiraud
VARS_FILE = vars_${INSTANCE_ID}.yaml
PRINT_OUTPUT = /tmp
DISABLE_BUILD_RULES = apache print
include geoportailv3.mk
.PHONY: dbtunnel
dbtunnel:
@echo "Opening tunnel…"
ssh -N -L 9999:localhost:5432 luxembourg-geomapfish.infra.internal
.PHONY: watchless
watchless:
@echo "Watching changes to less files…"
watchmedo shell-command --patterns="*.less" --recursive --command="make -f pgiraud.mk geoportailv3/static/build/build.css"
.PHONY: watchapiless
watchapiless:
@echo "Watching changes to API less files…"
watchmedo shell-command --patterns="*.api.less" --recursive --command="make -f pgiraud.mk build-css-api"
.PHONY: watchtemplates
watchtemplates:
@echo "Watching changes to template files…"
watchmedo shell-command --patterns="*.html" --recursive --command="make -f pgiraud.mk geoportailv3/static/build/templatecache.js"