From 067ef71c78accce3543bcaffbd6e53da115ac340 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Thu, 27 Feb 2020 16:00:54 +0100 Subject: [PATCH] easier hugo install --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6ef2e60..482e1d2 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,7 @@ build: install_deps: apk add --no-cache lftp git - git clone -b v$(HUGO_VERSION) --depth 1 https://github.com/gohugoio/hugo.git /tmp/hugo - (cd /tmp/hugo; go install) - rm -rf /tmp/hugo + GO111MODULE=on go get -v -u github.com/gohugoio/hugo@v$(HUGO_VERSION) ftp_upload: lftp ftp://$(FTP_USER):$(FTP_PASS)@$(FTP_HOST) -e "set ssl:verify-certificate no; mirror -R --ignore-time --no-perms --parallel=4 -e --use-cache -v $(OUTPUTDIR) $(FTP_TARGET_DIR); quit"