Improved build a bit. Should exclude vim temp files. Fixes #497
This commit is contained in:
parent
afef577671
commit
4f11dd8bae
1 changed files with 5 additions and 2 deletions
7
Makefile
7
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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue