mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
Add CGO_ENABLED=1 to the build task
This commit is contained in:
2
justfile
2
justfile
@@ -7,7 +7,7 @@ build: templ tailwind
|
|||||||
go build -o ./njump
|
go build -o ./njump
|
||||||
|
|
||||||
deploy target: templ tailwind
|
deploy target: templ tailwind
|
||||||
GOOS=linux GOARCH=amd64 CC=$(which musl-gcc) go build -tags='libsecp256k1' -ldflags="-s -w -linkmode external -extldflags '-static' -X main.compileTimeTs=$(date '+%s')" -o ./njump
|
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC=$(which musl-gcc) go build -tags='libsecp256k1' -ldflags="-s -w -linkmode external -extldflags '-static' -X main.compileTimeTs=$(date '+%s')" -o ./njump
|
||||||
scp njump {{target}}:njump/njump-new
|
scp njump {{target}}:njump/njump-new
|
||||||
ssh {{target}} 'systemctl stop njump'
|
ssh {{target}} 'systemctl stop njump'
|
||||||
ssh {{target}} 'mv njump/njump-new njump/njump'
|
ssh {{target}} 'mv njump/njump-new njump/njump'
|
||||||
|
|||||||
Reference in New Issue
Block a user