1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-22 18:30:11 +00:00

Updated Build (markdown)

Harvey Tindall 2021-04-03 20:39:10 +01:00
parent 43cc609bdc
commit 51027a8daf

@ -40,6 +40,6 @@ A Makefile is provided, which requires the `make` command. Simply clone the repo
### Goreleaser ### Goreleaser
[goreleaser](https://github.com/goreleaser/goreleaser) is used to publish the packages seen in the release section. [goreleaser](https://github.com/goreleaser/goreleaser) is used to publish the packages seen in the release section.
* To generate executables for multiple platforms, run `./scripts/version.sh goreleaser build --snapshot --rm-dist`. They will be stored in `dist/`. The `data/` directory must be manually copied into the same directory as the executable for it to run. * To generate executables for multiple platforms, run `./scripts/version.sh goreleaser build --snapshot --rm-dist`. They will be stored in `dist/`
* To generate package archives that include `data`, run `./scripts/version.sh goreleaser --snapshot --skip-publish --rm-dist`. * To generate package archives that include `LICENSE` and `README.md`, run `./scripts/version.sh goreleaser --snapshot --skip-publish --rm-dist`.