1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

Add build for macOS

This commit is contained in:
Andreas Huber 2023-10-06 12:53:25 +02:00
parent 666913e61e
commit d69101924b
2 changed files with 15 additions and 9 deletions

View file

@ -47,9 +47,11 @@ Download the binaries from the most recent release assets on Github.
- Build Go components Makefile supplies the following targets:
- Build For GNU/Linux System: `make build_linux`
- Build For Windows System (cross build): `make build_win`
- Build For both linux and windows: `make build`
- Build from a specific github tag by passing the intended tag to the `BUILDTAG` variable.
- Build For Windows System (cross build): `make build_win`
- Build For macOS on Intel Processor (AMD64) (cross build): `make build_mac_amd64`
- Build For macOS on Apple Silicon (ARM64) (cross build): `make build_mac_arm64`
- Build For Linux, Mac and Windows: `make build`
- Build from a specific GitHub tag by passing the intended tag to the `BUILDTAG` variable.
E.g. `make BUILDTAG=v1.0.0 build` or `make BUILDTAG=1 build_linux`.
The special value `1` means checking out the highest github tag for the build.
- Remove the generated binaries und their directories: `make mostlyclean`