mirror of
https://github.com/anchore/syft.git
synced 2026-05-20 04:05:24 +02:00
* port to go-make Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * refresh fixtures on running unit tests Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * address refresh cache issues with old now-gitignored files Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
19 lines
364 B
Makefile
19 lines
364 B
Makefile
# `test` and `snapshot` have matching directory names in this repo, so make would
|
|
# refuse to run them without an explicit .PHONY (Nothing to be done for ...).
|
|
.PHONY: test snapshot
|
|
test:
|
|
@go run -C .make . test
|
|
|
|
snapshot:
|
|
@go run -C .make . snapshot
|
|
|
|
.PHONY: *
|
|
.DEFAULT_GOAL: make-default
|
|
|
|
make-default:
|
|
@go run -C .make .
|
|
|
|
.DEFAULT:
|
|
%:
|
|
@go run -C .make . $@
|