diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-03-25 05:12:40 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-03-25 05:12:40 +0100 |
| commit | ed161e7fb20a697ecba070ef7db4c231d700f245 (patch) | |
| tree | 5a415f8e758c6b7001ade8003ca2aa26b476b58c /Makefile | |
| parent | fb94d7aef76a5996892ef82938524cb0c2e0d285 (diff) | |
| download | mitjafelicijan.com-ed161e7fb20a697ecba070ef7db4c231d700f245.tar.gz | |
Move to my own static generator
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 |
