v0.1.0
For the second release of 2018, I introduce a feature I've wanted from the very beginning:
Customized Platforms
This release introduces the ability to modify the built platforms by use of the introduced -platform
flag.
By default, bakelite will build for all of the default platforms. The defaults, by the way, are now included in the help output. A platform can be excluded by listing it with a minus prefix. For example, to not build for 32-bit macOS:
$ bakelite -platform '-darwin/386' github.com/terinjokes/bakelite
An entire operating systems can be excluded by prefixing the OS name with a minus. For example, if you don't like Rob Pike (or, maybe you've just ran into fsnotify's lack of support):
$ bakelite -platform '-plan9' github.com/terinjokes/bakelite
Likewise, operating systems or individual platforms can be added with the plus prefix. For example, to add builds for Linux on z:
$ bakelite -platform '+linux/s390x' github.com/terinjokes/bakelite
The platform list is read and processed left to right and options can be combined. To exclude Linux, but build for amd64 Linux:
$ bakelite -platform '-linux +linux/amd64' github.com/terinjokes/bakelite
Finally, to disable the default platforms entirely, pass -
as the first platform. For example, to build only on Linux:
$ bakelite -platform '- +linux' github.com/terinjokes/bakelite