Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

gb version 0.1.2

Choose a tag to compare

@davecheney davecheney released this 17 Sep 08:13
· 356 commits to master since this release

This release continues the theme of cross compilation.

Changes

  • Logging has been overhauled. Log functions have moved into their own package, gb/log. Hopefully one day in the future this can be outsourced.
    Logging is now more opinionated. There are only three levels and three corresponding log commands, Debugf, Infof and Fatalf. Verbose enables debug level, Quiet silences info level, that's all there is too it. Errors, if not fatal should be handled and printed at info level -- they were not fatal after all.
    Compatability - plugin authors should update to this new path.
  • Support for compiling cgo packages that use C++ files has been improved. Fixes #331
  • gb info now reports the current binary suffix and project package directory, see #369 and #366 for more details.
  • CI infrastructure has been overhauled and modernised thanks to @tianon!

Bug Fixes

  • gb now removes working directory after each run. No more /tmp/gbNNNNNN turds (hopefully) thanks @mopemope
  • A bug where gb would compute the wrong temporary directory which could cause multiple concurrent cgo builds to fail has been fixed. Fixes #372
  • gb test will now not consume the general build flags, like -v, and -f -F, thanks @inconshreveable
  • A loophole where a main package called main would not build has been fixed. Fixes #375

Thank you to all the contributors.