mirror of
https://codeberg.org/scip/watson-starship.git
synced 2025-12-16 20:21:05 +01:00
initial commit
This commit is contained in:
13
Makefile
Normal file
13
Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
tool = watson-starship
|
||||
|
||||
all: buildlocal
|
||||
|
||||
buildlocal:
|
||||
CGO_LDFLAGS='-static' go build -tags osusergo,netgo -ldflags "-extldflags=-static -w" --trimpath -buildmode=pie -o $(tool)
|
||||
strip --strip-all $(tool)
|
||||
|
||||
install: buildlocal
|
||||
install -m 755 $(tool) $(HOME)/bin/
|
||||
|
||||
clean:
|
||||
rm -rf $(tool)
|
||||
Reference in New Issue
Block a user