first commit
This commit is contained in:
12
Makefile
Normal file
12
Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
#!make
|
||||
|
||||
# ldflags:
|
||||
# -s: Убирает информацию о символах (например, дебаг-символы).
|
||||
# -w: Убирает информацию о отладке, включая таблицу строк и информацию о файлах.
|
||||
|
||||
build:
|
||||
GOOS=linux go build -ldflags="-s -w" -buildmode=exe -o target/playbookctl main.go \
|
||||
&& strip target/playbookctl
|
||||
|
||||
clean:
|
||||
rm -rf target/*
|
||||
Reference in New Issue
Block a user