Commit Graph

4 Commits (3d483b292c130305c6ab4aaf1629915f5a685bc0)

Author SHA1 Message Date
Anders F Björklund d13a26648e Avoid out directory, when listing test files
Especially out/buildroot takes ages to "go list".
Literally 5 minutes, for my 16 GB directory...

So list "cmd" and "pkg" explicitly, to avoid "out".
Unfortunately only "vendor" is allowed to exclude.
2018-10-06 21:04:44 +02:00
Anders F Björklund e88e206ea9 Add missing boilerplate to makedepend.sh 2018-02-26 09:51:56 -08:00
Anders F Björklund fe30157432 Make sure to add the current module to the list
Before we would only add the files from the dependencies,
not the file from the actual module (such as "main.go").
2018-02-26 09:51:56 -08:00
Anders F Björklund 53127d687a Generate make depend files from go list
Instead of running `go list` every time (very slow),
cache the results in the build folder and include it.

Add a shell helper script, to make the Makefile more
readable. Use regular "makedepend" syntax for output.
2018-02-26 09:51:56 -08:00