diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
| @@ -1,13 +1,11 @@ | |||
| 1 | GS ?= gostatic | 1 | dev: |
| 2 | 2 | browser-sync ./public/ -w --no-notify --no-open | |
| 3 | compile: clean | ||
| 4 | $(GS) config | ||
| 5 | 3 | ||
| 6 | clean: | 4 | clean: |
| 7 | -rm public -rf | 5 | rm -rf public/* |
| 8 | 6 | ||
| 9 | dev: clean | 7 | generate: |
| 10 | $(GS) -w config | 8 | staticgen --generate |
| 11 | 9 | ||
| 12 | deploy: clean compile | 10 | deploy: clean generate |
| 13 | firebase deploy | 11 | firebase deploy |
