summaryrefslogtreecommitdiff
path: root/main.go
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21fix: pass environment to workersv0.2.0Libravatar Terin Stock1-7/+20
Passes the environment through to workers, allowing more control by the user of Bakelite. In particular, this allows the GOCACHE and GO111MODULE environment variables to be configured. The CGO_ENABLED, GOOS, and GOARCH environment variables are still controlled by Bakelite, as before.
2018-01-17feat(main): support modifying built platformsv0.1.0Libravatar Terin Stock1-73/+97
Bakelite now accepts a platform modification string vita the -platform flag. This string format for adding and removing the built platforms, including removing the default platforms entirely. It is processed left to right. bakelite -platform '-windows +linux/s390x' [packages] Would now build [packages] for all of the default platforms, except for Windows, and also build for the linux/s390x platform. bakelite -platform '- +linux +darwin' [packages] Would now build [packages] for the default platforms of only the Linux and Darwin operating systems. The platform modification string is parsed and turned into calls to a structure following the builder pattern. As the user can now modify the built platforms, Bakelite now exits with a non-zero exit code if any of the platforms fail to build. Change-Id: Iade51e17bbfda4e916394343a5f8cb3208f2b160
2018-01-13feat(main): include ".exe" when building for WindowsLibravatar Terin Stock1-1/+6
When the platform OS is Windows, the output file name should be appended with ".exe" to match behavior with 'go build', and to allow the executable to be ran.
2018-01-13fix(main): include platform in error messagesLibravatar Terin Stock1-1/+1
Include platform information in error messages so that builds may be attributed to a specific platform. Bug: #1
2018-01-13feat(main): improve flag usuage messageLibravatar Terin Stock1-3/+30
Improve the usage outage when invoked with the `-help` option.
2017-12-15feat: support passing -ldflagsLibravatar Terin Stock1-7/+20
2017-12-15feat: replace parallel with a semaphoreLibravatar Terin Stock1-39/+57
2017-07-14feat(main): run jobs in parallelLibravatar Terin Stock1-29/+41
Ons systems with multiple CPUs, support running build jobs in parallel. This is currently a naive implementation, which only supports running `runtime.NumCPU()` jobs, with no additional configuration.
2017-05-29feat(main): just enough to bakelite itselfv0.0.1Libravatar Terin Stock1-0/+147
This is just the beginning of the amazing adventures of Terin and Bakelite. Their journey is destined to be packed with non-stop action, millions of laughs, heart pounding perils, and endless excitement. Together, they'll encounter fantastic friends, evil enemies, and meet creatures beyond your wildest imagination. And as their story unfolds, we'll unlock the magic and mystery of a most wondrous place, the incredible world of [fixme].