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/