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>2021-03-07 16:29:46 +0300
committerQueensferry <queensferry.me@gmail.com>2022-03-31 10:50:49 +0300
commit2acc9d272ec9d6261e53bd3b51896369597e6701 (patch)
treef3abe52b4bb062e5a9bfb9127e0697a555786df0
parentfc898333eeb58a83487e95ae900a9b468dc361e6 (diff)
build: improve makefile build script
it should work seamlessly on cloudflare pages and netlify now.
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f63d6ee..9d926f9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
build:
+ 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" \