diff options
author | austingebauer <gebauer.austin@gmail.com> | 2019-06-21 18:23:50 +0300 |
---|---|---|
committer | austingebauer <gebauer.austin@gmail.com> | 2019-06-21 18:23:50 +0300 |
commit | 17947fc84fb88a613c96d6d87789b19ef3900d16 (patch) | |
tree | 4a7bd74c39784bd4a3a96ef88e0a02d249c42aeb | |
parent | d37f44935c482b8d93c628e15208ae87ff6344dc (diff) |
feat: add makefile
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fcf60dc --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +.PHONY: server build watch + +THEME_DIR = themes/ag + +server: + hugo server --watch --verbose --buildDrafts --cleanDestinationDir --disableFastRender + +build: + npm run --prefix $(THEME_DIR) build + +watch: build + npm run --prefix $(THEME_DIR) watch
\ No newline at end of file |