From 96e6c7eb53fd141dc94d93d6556486f017b6ea77 Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Fri, 26 Jan 2024 21:07:44 +0100 Subject: [PATCH] remove broken minify for now --- Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 44245b2..448f043 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -.PHONY: build minify clean release deploy_test +.PHONY: build clean release deploy_test BASEURL ?= https://c3re.de -release: build minify +release: build build: clean hugo --gc --minify --cleanDestinationDir -b "${BASEURL}" --enableGitInfo --panicOnWarning @@ -10,15 +10,10 @@ build: clean clean: rm -rf public dist -minify: dist build - minify -a -r -o dist/ public/. -q --exclude "public/js/jquery-3.7.1.min.js" --html-keep-document-tags - cp -rp public/js/jquery-3.7.1.min.js dist/public/js/jquery-3.7.1.min.js - mv dist/public/* dist/ - rm -rf dist/public dist: mkdir dist deploy_test: $(MAKE) BASEURL=https://c3retest.shnbk.de release - rsync -rv --delete dist/* shnbk.de:domains/c3retest.shnbk.de/htdocs \ No newline at end of file + rsync -rv --delete public/* shnbk.de:domains/c3retest.shnbk.de/htdocs \ No newline at end of file