More build breakage

Jeroen Vermeulen jtv at canonical.com
Fri Apr 5 03:58:47 UTC 2013


On 04/05/2013 10:28 AM, David Cheney wrote:

> What the hell people, it takes 6 seconds to run go build
> lauchpad.net/juju-core/...

Might it help to have a Makefile with shorthand targets, to make it just
that little bit smoother?

In gwacl we have one that lets you "make check" to run the test suite
and build the examples, "make format" to run gofmt with some custom
boilerplate, "make simplify" to streamline the code using gofmt -s, and
so on.  It may seem a small thing, but you also get tab completion on
the targets.

In the case of juju-core, the conventional default target would be "make
build" to compile, so that a simple "make" would have caught this error.


Jeroen



More information about the Juju-dev mailing list