diff options
| author | Volpeon <git@volpeon.ink> | 2020-12-21 21:16:43 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2020-12-21 21:16:43 +0100 |
| commit | fe48bee6e9d409704bc09b1ae5527e2de1115fc8 (patch) | |
| tree | a61a373ee1461f72d5e866ebac7074941bf1d08b /Makefile | |
| parent | Use Pandoc to write content in Markdown (diff) | |
| download | volpeon.ink-fe48bee6e9d409704bc09b1ae5527e2de1115fc8.tar.gz volpeon.ink-fe48bee6e9d409704bc09b1ae5527e2de1115fc8.tar.bz2 volpeon.ink-fe48bee6e9d409704bc09b1ae5527e2de1115fc8.zip | |
Added makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..19ad5a7 --- /dev/null +++ b/Makefile | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | all: build | ||
| 2 | |||
| 3 | clean: | ||
| 4 | @rm -rf dist/* | ||
| 5 | |||
| 6 | build_fonts: clean | ||
| 7 | @scripts/build_fonts.sh | ||
| 8 | |||
| 9 | build_sass: clean | ||
| 10 | @scripts/build_sass.sh | ||
| 11 | |||
| 12 | build_content: clean | ||
| 13 | @scripts/build_content.sh | ||
| 14 | |||
| 15 | build: build_fonts build_sass build_content | ||
| 16 | |||
| 17 | watch_sass: build | ||
| 18 | @scripts/watch_sass.sh | ||
| 19 | |||
| 20 | watch_content: build | ||
| 21 | @scripts/watch_content.sh | ||
| 22 | |||
| 23 | watch: watch_sass watch_content | ||
| 24 | |||
| 25 | serve_only: build | ||
| 26 | @scripts/serve.sh | ||
| 27 | |||
| 28 | serve: watch serve_only | ||
| 29 | |||
| 30 | .PHONY: all build watch serve | ||
