Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@ clean:
hugo --cleanDestinationDir
make site

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

check-go:
@echo "Checking if Go is installed..."
@command -v go > /dev/null || (echo "Go is not installed. Please install it before proceeding."; exit 1)
@echo "Go is installed."


## Update the academy-theme package to latest version
academy-update:
hugo mod get -u

.PHONY: setup build site clean site-fast check-go academy-update
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ go 1.12
// Uncomment line below when testing changes to the academy theme
// replace github.com/layer5io/academy-theme v0.1.9 => ../academy-theme


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