Remove html5 directory after creating zip archive
This commit is contained in:
parent
09173aabc4
commit
81885913e3
1
Makefile
1
Makefile
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue