Quellcode durchsuchen

Makefile: ensure repo is clean before testing

Lucas Servén Marín vor 6 Jahren
Ursprung
Commit
eb0500f994
2 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. 1 0
      .travis.yml
  2. 2 2
      Makefile

+ 1 - 0
.travis.yml

@@ -20,6 +20,7 @@ install: true
 
 script:
   - make
+  - make clean
   - make unit
   - make lint
   - make container

+ 2 - 2
Makefile

@@ -267,10 +267,10 @@ push-name:
 	@echo "pushed: $(IMAGE):$(ARCH)-$(VERSION)"
 
 clean: container-clean bin-clean
-	rm -r .cache
+	rm -rf .cache
 
 container-clean:
-	rm -rf .container-* .push-*
+	rm -rf .container-* .manifest-* .push-*
 
 bin-clean:
 	rm -rf bin