Remove html5 directory after creating zip archive

This commit is contained in:
Kienan Stewart 2018-04-07 11:30:13 -04:00
parent 09173aabc4
commit 81885913e3
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ export-html5: build-dir
mkdir -p "$(BUILD_DIR)/html" mkdir -p "$(BUILD_DIR)/html"
$(GODOT) --path "$(GODOT_PROJECT_PATH)" --export "$(TARGET_HTML5)" "../$(BUILD_DIR)/html/$(PROJECT_NAME).html" $(GODOT) --path "$(GODOT_PROJECT_PATH)" --export "$(TARGET_HTML5)" "../$(BUILD_DIR)/html/$(PROJECT_NAME).html"
zip -j -r "$(BUILD_DIR)/$(PROJECT_NAME)-html5.zip" "$(BUILD_DIR)/html" zip -j -r "$(BUILD_DIR)/$(PROJECT_NAME)-html5.zip" "$(BUILD_DIR)/html"
rm -rf "$(BUILD_DIR)/html"
export-windows: build-dir export-windows: build-dir
$(GODOT) --path "$(GODOT_PROJECT_PATH)" --export "$(TARGET_WINDOWS)" "../$(BUILD_DIR)/$(PROJECT_NAME).exe" $(GODOT) --path "$(GODOT_PROJECT_PATH)" --export "$(TARGET_WINDOWS)" "../$(BUILD_DIR)/$(PROJECT_NAME).exe"