Skip to content

Commit

Permalink
make: cleanup -rm calls
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed Aug 4, 2016
1 parent f93ce30 commit cc60f69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ test_all_commits_travis:
# since we have CI for osx and linux but not windows, this should help
windows_build_check:
GOOS=windows GOARCH=amd64 go build -o .test.ipfs.exe ./cmd/ipfs
rm .test.ipfs.exe
rm -f .test.ipfs.exe

PHONY += test test_short test_expensive

Expand Down
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ deps: global-deps bins

clean:
$(MAKE) -C sharness clean
-rm -rf $(BINS)
rm -rf $(BINS)

bins: $(BINS)

Expand Down
4 changes: 2 additions & 2 deletions test/sharness/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ all: aggregate

clean: clean-test-results
@echo "*** $@ ***"
-rm -rf $(BINS)
rm -rf $(BINS)

clean-test-results:
@echo "*** $@ ***"
-rm -rf test-results
rm -rf test-results

$(T): clean-test-results deps
@echo "*** $@ ***"
Expand Down

0 comments on commit cc60f69

Please sign in to comment.