Change summary
justfile | 4 ++++
1 file changed, 4 insertions(+)
Detailed changes
@@ -44,6 +44,10 @@ build:
# Building nasin-pali
CGO_ENABLED=0 GOOS={{GOOS}} GOARCH={{GOARCH}} go build -o np -ldflags "-s -w -X main.version={{VERSION}}"
+install:
+ # Installing nasin-pali
+ CGO_ENABLED=0 GOOS={{GOOS}} GOARCH={{GOARCH}} go install -ldflags "-s -w -X main.version={{VERSION}}"
+
run *FLAGS:
# Running np
CGO_ENABLED=0 GOOS={{GOOS}} GOARCH={{GOARCH}} go run -ldflags "-s -w -X main.version={{VERSION}}" . {{FLAGS}}