Ensure that release zip has a config folder

This commit is contained in:
ByteHamster 2020-03-22 20:56:59 +01:00
parent afb6d86d3c
commit 6af1b14561

View file

@ -9,8 +9,9 @@ VERSION=$(shell php -r "include 'Core/Distrib.php'; echo BAIKAL_VERSION;")
dist: vendor/autoload.php dist: vendor/autoload.php
# Building Baikal $(VERSION) # Building Baikal $(VERSION)
rm -r $(BUILD_DIR); true rm -r $(BUILD_DIR); true
mkdir -p $(BUILD_DIR) $(BUILD_DIR)/Specific $(BUILD_DIR)/Specific/db mkdir -p $(BUILD_DIR) $(BUILD_DIR)/Specific $(BUILD_DIR)/Specific/db $(BUILD_DIR)/config
touch $(BUILD_DIR)/Specific/db/.empty touch $(BUILD_DIR)/Specific/db/.empty
touch $(BUILD_DIR)/config/.empty
rsync -av \ rsync -av \
$(BUILD_FILES) \ $(BUILD_FILES) \
--exclude="*.swp" \ --exclude="*.swp" \
@ -31,4 +32,4 @@ composer.lock: composer.json
clean: clean:
# Wipe out all local data, and go back to a clean install # Wipe out all local data, and go back to a clean install
rm config/config.yaml config/system.yaml Specific/db/db.sqlite; true rm config/baikal.yaml Specific/db/db.sqlite; true