Skip to content

Commit 1164a6a

Browse files
authored
Merge pull request #20 from Siddhi-sahu/feat/academy-update
[CI] Add `academy-update` make target
2 parents e4588a3 + 9761575 commit 1164a6a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,15 @@ clean:
3131
hugo --cleanDestinationDir
3232
make site
3333

34-
.PHONY: setup build site clean site-fast check-go
3534

3635
check-go:
3736
@echo "Checking if Go is installed..."
3837
@command -v go > /dev/null || (echo "Go is not installed. Please install it before proceeding."; exit 1)
3938
@echo "Go is installed."
39+
40+
41+
## Update the academy-theme package to latest version
42+
academy-update:
43+
hugo mod get -u
44+
45+
.PHONY: setup build site clean site-fast check-go academy-update

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ go 1.12
55
// Uncomment line below when testing changes to the academy theme
66
// replace github.com/layer5io/academy-theme v0.1.9 => ../academy-theme
77

8+
89
require github.com/layer5io/academy-theme v0.1.15 // indirect

0 commit comments

Comments
 (0)