build(npm): update gulp-haxetool
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
modules = ["."]
|
||||
|
||||
#[presets.haxe]
|
||||
#variables.haxe_sources = [
|
||||
# "./src/common/haxe",
|
||||
# "./src/app/haxe",
|
||||
# "./src/server/haxe",
|
||||
#]
|
||||
#tasks = {}
|
||||
|
||||
[presets.docker]
|
||||
variables.docker_target = "web"
|
||||
variables.docker_build_args = { PROJECT_NAME = "{{ project_name }}" }
|
||||
@@ -16,12 +8,11 @@ variables.docker_name = "{{ project_name }}-web"
|
||||
[presets.docker.tasks.build.compose]
|
||||
priority = 1
|
||||
variables.sdk_path = "{{ 'SDK_PATH' | env('$HOME/sdk') }}"
|
||||
variables.publish_path = "{{ 'PUBLISH_PATH' | env('$HOME/public/' + project_name) }}"
|
||||
variables.build_path = "{{ 'BUILD_PATH' | env('./build') }}"
|
||||
variables.target_path = "{{ 'TARGET_PATH' | env('./target') }}"
|
||||
commands = [
|
||||
"mkdir -p \"{{ sdk_path }}\" \"{{ publish_path }}\" \"{{ build_path }}\" \"{{ target_path }}\" \"src-gen\"",
|
||||
"PROJECT={{ project_name }} SDK_PATH={{ sdk_path }} BUILD_PATH={{ build_path }} TARGET_PATH={{ target_path }} PUBLISH_PATH={{ publish_path }} docker compose run --rm --user $(id -u):$(id -g) --build --remove-orphans builder",
|
||||
"mkdir -p \"{{ sdk_path }}\" \"{{ build_path }}\" \"{{ target_path }}\" \"src-gen\"",
|
||||
"PROJECT={{ project_name }} SDK_PATH={{ sdk_path }} BUILD_PATH={{ build_path }} TARGET_PATH={{ target_path }} docker compose run --rm --user $(id -u):$(id -g) --build --remove-orphans builder",
|
||||
]
|
||||
|
||||
[presets.gitea]
|
||||
|
||||
Reference in New Issue
Block a user