Permalink
Browse files

Added Makefile:clean target.

  • Loading branch information...
1 parent 17b3c8e commit 35120d79a909fa919b4a70731c02e73ec05619c0 Ville Korhonen committed Jul 21, 2014
Showing with 3 additions and 5 deletions.
  1. +3 −5 Makefile
View
@@ -57,8 +57,9 @@ environment:
# Clean build environment
-clean:
- # FIXME
+clean: environment
+ $(BUILDER_DO) run COMMAND='if [ -d "$(BUILD_DIR)" ] ; then sudo rm -rf "$(BUILD_DIR)" ; fi'
+
# Remove builder (destroys virtual machine)
purge:
@@ -86,9 +87,6 @@ config: clean environment
$(BUILDER_DO) run COMMAND='cd $(BUILD_DIR) && lb config'
-cli: config
- $(BUILDER_DO) run
-
halt:
$(BUILDER_DO) halt

0 comments on commit 35120d7

Please sign in to comment.