Make sure that the build/bin directory exists to copy the executable.

Fixes #159
This commit is contained in:
Leonardo Arias Fonseca 2024-09-19 17:19:59 +00:00 committed by Chen Kai
parent 4a933628a8
commit 54f67dca1a

View file

@ -11,6 +11,7 @@ GORUN = go run
#? shisui: Build shisui
shisui:
go build ./cmd/shisui/main.go
mkdir -p $(GOBIN)
cp main $(GOBIN)/shisui
@echo "Done building."
@echo "Run \"$(GOBIN)/shisui\" to launch shisui."