Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.