1
0
Fork 0
mirror of https://github.com/on4kjm/FLEcli.git synced 2025-01-31 14:51:04 +01:00
FLEcli/notes/buildNotes.md
Bryan Nehl 89d7cbd955
revised developer notes, added Table of Contents (#93)
* revised developer notes, add ToC

* add goreleaser doc
2023-06-10 21:26:59 +02:00

20 lines
517 B
Markdown

# Build Notes
## Bootstrap
Install [Cobra CLI tool](https://github.com/spf13/cobra) `go install github.com/spf13/cobra-cli@latest`
[Install](https://goreleaser.com/install/) [goreleaser](https://goreleaser.com/)
* `go build && go install`
## to build with goreleaser
* `goreleaser --snapshot --skip-publish --rm-dist`
* `dist/FLEcli_darwin_amd64/FLEcli`
* `docker build -f docker/Dockerfile -t test/test dist/FLEcli_linux_arm64`
## to push a release
* on the master branch `git tag v0.1.1`
* `git push --tag`