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

github.com/queensferryme/hugo-theme-texify.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQueensferry <queensferry.me@gmail.com>2022-04-02 08:48:20 +0300
committerQueensferry <queensferry.me@gmail.com>2022-04-02 09:07:22 +0300
commit534ee9468a5c8cea588a05cc5f2a994db819a28f (patch)
treeb5a685e39134b963365b8c3336229f1102defd33
parent93a380f5a23a33088e108c6b16d5c51dd39104ca (diff)
ci: simplify makefile
-rw-r--r--Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index c4605b6..caf69ac 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,8 @@
build:
- if [ ! -d "../hugo-theme-texify" ]; then \
- git clone https://github.com/queensferryme/hugo-theme-texify.git \
- ../hugo-theme-texify; \
+ if [ ! -d ../hugo-theme-texify ]; then \
+ git clone https://github.com/queensferryme/hugo-theme-texify.git ../hugo-theme-texify; \
fi
- hugo \
- --config="exampleSite/config.toml" \
- --contentDir="exampleSite/content" \
- --gc \
- --minify \
- --themesDir=".."
+ hugo --contentDir=exampleSite/content --gc --minify --themesDir=..
dev:
- hugo server \
- --buildDrafts \
- --config="exampleSite/config.toml" \
- --contentDir="exampleSite/content" \
- --disableFastRender \
- --themesDir=".."
+ hugo server --contentDir=exampleSite/content --disableFastRender --themesDir=..