Skip to content

Commit

Permalink
fix: dist via pwsh sub-call
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDwarf7 committed Jan 26, 2025
1 parent d9b8cea commit 8660988
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions build/dist-tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,32 @@ ignore_errors = true # REQUIRED as - if the dir doesn't exist, SilenlyContinue d
[tasks.create_dist]
linux.command = "mkdir"
linux.args = ["-p", "${DIST_FOLDER}/"]
windows.command = "mkdir"
windows.args = ["${DIST_FOLDER}/"]
windows.command = "pwsh.exe"
windows.args = [
"-Command",
"New-Item",
"-ItemType",
"Directory",
"-Path",
"${DIST_FOLDER}/",
"-ErrorAction",
"SilentlyContinue"
]

[tasks.create_showcase_dist]
linux.command = "mkdir"
linux.args = ["-p", "${DIST_FOLDER}/showcase/"]
windows.command = "mkdir"
windows.args = ["${DIST_FOLDER}/showcase/"]
windows.command = "pwsh.exe"
windows.args = [
"-Command",
"New-Item",
"-ItemType",
"Directory",
"-Path",
"${DIST_FOLDER}/showcase/",
"-ErrorAction",
"SilentlyContinue"
]
dependencies = ["create_dist"]

[tasks.copy_readme_to_dist]
Expand Down Expand Up @@ -135,3 +153,5 @@ dependencies = [
"sleep",
"move_compressed_to_dist",
]


0 comments on commit 8660988

Please sign in to comment.