File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -39,17 +39,18 @@ install-hugo:
39
39
ifeq ($(OS ) ,Windows_NT)
40
40
@echo $(shell uname -s) ;
41
41
cd tools; mkdir bin; cd bin; curl -s -L -O $(shell curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[30].browser_download_url')
42
+ endif
43
+
44
+ ifeq ($(shell uname -s) ,Darwin)
45
+ @echo $(shell uname -s)
46
+ cd tools; mkdir bin; cd bin; curl -s -L -O $(shell curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[28].browser_download_url'); tar xvfz hugo_extended_${_latestver}_macOS-64bit.tar.gz
42
47
else
43
- ifeq ($(shell uname -s),Darwin)
44
- @echo $(shell uname -s)
45
- cd tools; mkdir bin; cd bin; curl -s -L -O $(shell curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[28].browser_download_url'); tar xvfz hugo_extended_${_latestver}_macOS-64bit.tar.gz
46
- else
47
- @echo $(shell uname -s)
48
- cd tools; mkdir bin; cd bin; curl -s -L -O $(shell curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[27].browser_download_url'); tar xvfz hugo_extended_${_latestver}_Linux-64bit.tar.gz
49
- endif
48
+ @echo $(shell uname -s)
49
+ cd tools; mkdir bin; cd bin; curl -s -L -O $(shell curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[27].browser_download_url'); tar xvfz hugo_extended_${_latestver}_Linux-64bit.tar.gz
50
50
endif
51
51
52
52
53
+
53
54
54
55
55
56
.PHONY : upgrade-pack
@@ -93,7 +94,7 @@ serve: install-hugo pack-version pack-docs-update
93
94
ifeq ($(BASE_URL ) ,)
94
95
$(HUGO_BIN) server --disableFastRender --port=$(SERVE_PORT)
95
96
else
96
- $(HUGO_BIN) server --disableFastRender --port=$(SERVE_PORT) --baseURL=$(BASE_URL) --appendPort=false
97
+ hugo server --disableFastRender --port=$(SERVE_PORT) --baseURL=$(BASE_URL) --appendPort=false
97
98
endif
98
99
99
100
.PHONY : build
You can’t perform that action at this time.
0 commit comments