Skip to content

Commit

Permalink
feat: add makefile to generate resource folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Feb 19, 2022
1 parent 113b6a3 commit 0e610e4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
HUGO_BIN=hugo

.PHONY: build demo release

build:
$(HUGO_BIN) --themesDir=../.. --source=exampleSite

demo:
$(HUGO_BIN) server -D --themesDir=../.. --source=exampleSite

release: build
rm -rf ./resources && cp -r ./exampleSite/resources ./resources

0 comments on commit 0e610e4

Please sign in to comment.