mirror of
https://github.com/vbatts/go-mtree.git
synced 2025-07-26 08:10:27 +00:00
cli.test: fail on cli tests
This cleans up the Makefile target, and drops the dependency to point to the $root path of the repo. Fixes https://github.com/vbatts/go-mtree/issues/98 Reported-by: Aleksa Sarai <asarai@suse.de> Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
13131d516b
commit
f49f66f61e
7 changed files with 32 additions and 8 deletions
4
Makefile
4
Makefile
|
@ -30,9 +30,7 @@ vet: .vet
|
|||
cli.test: .cli.test
|
||||
|
||||
.cli.test: $(BUILD) $(wildcard ./test/cli/*.sh)
|
||||
@ for test in ./test/cli/*.sh ; do \
|
||||
bash $$test $(CWD) ; \
|
||||
done && touch $@
|
||||
@go run ./test/cli.go ./test/cli/*.sh && touch $@
|
||||
|
||||
.PHONY: build
|
||||
build: $(BUILD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue