mintel / build-harness

🤖Collection of Makefiles to facilitate building Python/Golang projects, Dockerfiles, and more
Apache License 2.0
2 stars 6 forks source link

Auto-init build harness without running bh/init #64

Closed charlieparkes closed 4 years ago

jtdoepke commented 4 years ago

Also add a sensible default target if the user just calls make, such as help.

nabadger commented 4 years ago

I'm not sure this is required anymore - upstream at least have re-written a portion of this.

I can certainly get upstream+build-extensions working without having to explicty make init.

In addition, default targets can be added to calling code Makefile like so:

-include $(shell curl -sSL -o .build-harness "https://git.io/build-harness"; echo .build-harness)
.DEFAULT_GOAL := help

So I don't think it's something that we would set in build-harness itself, but more whatever is managing the app Makefile.