make: cleanup -rm calls
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Jul 28, 2016 at 14:22 UTC
cc60f6909b1251811914404c8f7399a435f831e8
3 files changed
+4
-4
Makefile
+1
-1
@@ -114,7 +114,7 @@ test_all_commits_travis:
114
# since we have CI for osx and linux but not windows, this should help
115
windows_build_check:
116
GOOS=windows GOARCH=amd64 go build -o .test.ipfs.exe ./cmd/ipfs
117
- rm .test.ipfs.exe
117
+ rm -f .test.ipfs.exe
118
119
PHONY += test test_short test_expensive
120
test/Makefile
+1
-1
@@ -21,7 +21,7 @@ deps: global-deps bins
21
22
clean:
23
$(MAKE) -C sharness clean
24
- -rm -rf $(BINS)
24
+ rm -rf $(BINS)
25
26
bins: $(BINS)
27
test/sharness/Makefile
+2
-2
@@ -19,11 +19,11 @@ all: aggregate
19
20
clean: clean-test-results
21
@echo "*** $@ ***"
22
- -rm -rf $(BINS)
22
+ rm -rf $(BINS)
23
24
clean-test-results:
25
@echo "*** $@ ***"
26
- -rm -rf test-results
26
+ rm -rf test-results
27
28
$(T): clean-test-results deps
29
@echo "*** $@ ***"