diff options
author | Queensferry <queensferry.me@gmail.com> | 2022-04-02 08:48:20 +0300 |
---|---|---|
committer | Queensferry <queensferry.me@gmail.com> | 2022-04-02 09:07:22 +0300 |
commit | 534ee9468a5c8cea588a05cc5f2a994db819a28f (patch) | |
tree | b5a685e39134b963365b8c3336229f1102defd33 | |
parent | 93a380f5a23a33088e108c6b16d5c51dd39104ca (diff) |
ci: simplify makefile
-rw-r--r-- | Makefile | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -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=.. |