Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rhobro/gorchitect
Tool to compile Go programs into a directory for every GOOS and GOARCH combination.
https://github.com/rhobro/gorchitect
go goarch golang goos gorchitect
Last synced: about 2 months ago
JSON representation
Tool to compile Go programs into a directory for every GOOS and GOARCH combination.
- Host: GitHub
- URL: https://github.com/rhobro/gorchitect
- Owner: rhobro
- License: apache-2.0
- Created: 2021-03-02T10:40:05.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-03T20:28:29.000Z (almost 4 years ago)
- Last Synced: 2024-10-20T07:49:56.689Z (3 months ago)
- Topics: go, goarch, golang, goos, gorchitect
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gorchitect
Gorchitect takes a Go program and concurrently compiles it for every available GOOS and GOARCH. This will allow you to
do this in one go instead of repetitively compiling.### Installation
- `go build -i gorchitect.go` to compile the program.
- `go install -i gorchitect.go` to compile and move the binary to your PATH to make it accessible from anywhere.### Usage
- `./gorchitect --help` to list and see description of arguments.
- `-o` flag used to provide a path to directory where binaries should be compiled to.
- `-n` flag user to control number of concurrent compilations (defaults to number of CPUs).### Contribute
If you have a suggestion or have an improvement, please feel free to open an issue or pull request and I'll gladly take
it into account.