kevinburke / go-html-boilerplate

Starter pack for doing web development in Go
MIT License
0 stars 0 forks source link

be smarter about Make targets #2

Closed kevinburke closed 6 years ago

kevinburke commented 7 years ago

Right now we run make assets serve but there's no need to run make assets if none of the mtimes on the assets are updated.

The assets target should specify all of the files it depends on, then it can check the mtimes on those to figure out whether it needs to recompile.

Same for go install, we can skip it if none of the files changed.

kevinburke commented 6 years ago

This has been addressed, both by changes to Go and changes to the Makefile.