Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/luizdepra/hugo-coder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz F. A. de Prá <luizdepra@users.noreply.github.com>2021-03-25 02:59:33 +0300
committerGitHub <noreply@github.com>2021-03-25 02:59:33 +0300
commited1c854df2fda01549680651c19dbc2fe257b0f4 (patch)
tree1a8b5dbb54c88bc4af8f1aa38a6abd366e9252df /Makefile
parent32ffc536aa934737dbd58c986c21a91de7e9eb29 (diff)
And notice shortcodes (#537)
* Added information panel shortcodes (#437) * Added information panel shortcodes * Fixed dark mixin * Moved mixin location to correct location Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com> * Fix SCSS styling * Update generated files * Fix notice HTML * Fix Makefile * Rename JS file * Adsd emoji support for lang selectors * Fix notices and other things * Fix JS on template * Update example content * Update images * Update generated files * Fix netlify preview * Fix netlify preview build * Fix netlify theme path Co-authored-by: Jian Liew <jianloongliew@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 7ed802b..657c5ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,12 @@
HUGO_BIN=hugo
-.PHONY: prepare release build demo clean
+.PHONY: build demo release
-build: prepare
- $(HUGO_BIN) --source demo
+build:
+ $(HUGO_BIN) --themesDir=../.. --source=exampleSite
-demo: prepare
- $(HUGO_BIN) server --buildDrafts --source demo
+demo:
+ $(HUGO_BIN) server -D --themesDir=../.. --source=exampleSite
release: build
- rm -rf ./resources && cp -r ./demo/resources ./resources
-
-prepare: clean
- mkdir -p demo/themes/hugo-coder
- rsync -av exampleSite/ demo
- rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder
-
-clean:
- rm -rf demo
+ rm -rf ./resources && cp -r ./exampleSite/resources ./resources