Last active
March 11, 2021 06:16
-
-
Save ipfans/39e70591a58efb3cea087e3670b7eba0 to your computer and use it in GitHub Desktop.
Build NATS-Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://taskfile.dev | |
version: '3' | |
tasks: | |
default: | |
cmds: | |
- go build -o nats-server -trimpath -ldflags="-s -w -buildid=" . | |
env: | |
GOOS: linux | |
GOARCH: amd64 | |
deploy: | |
cmds: | |
- task: default | |
- scp nats-server www:~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment