Skip to content

Tool to compile Go programs into a directory for every GOOS and GOARCH combination.

License

Notifications You must be signed in to change notification settings

rhobro/gorchitect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Tool to compile Go programs into a directory for every GOOS and GOARCH combination.

Topics

Resources

License

Stars

Watchers

Forks

Languages