From 4f11dd8bae0aa0e829a075e4a8e2830dd39ef687 Mon Sep 17 00:00:00 2001 From: Evert Pot Date: Sun, 13 Mar 2016 17:57:49 -0400 Subject: [PATCH] Improved build a bit. Should exclude vim temp files. Fixes #497 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8a89bb3..2332554 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,11 @@ dist: vendor/autoload.php rm -r $(BUILD_DIR); true mkdir -p $(BUILD_DIR) $(BUILD_DIR)/Specific $(BUILD_DIR)/Specific/db touch $(BUILD_DIR)/Specific/db/.empty - cp -R $(BUILD_FILES) $(BUILD_DIR) - composer install -d $(BUILD_DIR) + rsync -av \ + $(BUILD_FILES) \ + --exclude="*.swp" \ + $(BUILD_DIR) + composer install --no-dev -d $(BUILD_DIR) rm $(BUILD_DIR)/composer.* cd build; zip -r baikal-$(VERSION).zip baikal/