Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Ensure binaries are rebuilt on any source change
The Makefile has a `SOURCES` variable which contains a list of all go source files used by crc. It's used as a dependency for the targets building binaries so that the binaries are rebuilt on any source changes. This broke in 1d10459 when a release_info_test.go file was added to the top level directory. Since `SOURCES` is set to `git ls-files *.go ":^vendor"` shell expansion will happen before `git ls-files` runs, so we'll be running `git ls-files release_info_test.go ":^vendor"`, the `SOURCES` variable will only contain `release_info_test.go` instead of the list of all source files, and binaries won't get rebuilt when one of the go files change. This commit adds quoting around `*.go` so that this works properly. Signed-off-by: Christophe Fergeau <[email protected]>
- Loading branch information