Improved build a bit. Should exclude vim temp files. Fixes #497

This commit is contained in:
Evert Pot 2016-03-13 17:57:49 -04:00
parent afef577671
commit 4f11dd8bae

View file

@ -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/