From 01ac99c9e1db1aedafc0ba6e5124b324fd3b3af7 Mon Sep 17 00:00:00 2001 From: Arne Hasselbring Date: Wed, 21 Jun 2023 17:08:01 +0200 Subject: [PATCH] Fix mkdist scripts --- dist/mkdist-linux | 2 +- dist/mkdist-macos | 6 +++--- dist/mkdist-windows.ps1 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/mkdist-linux b/dist/mkdist-linux index 40760de..dcee284 100755 --- a/dist/mkdist-linux +++ b/dist/mkdist-linux @@ -23,7 +23,7 @@ npm run build popd pushd "${basedir}" -cargo build --target "${target}" --profile "${profile}" --project game_controller_app +cargo build --target "${target}" --profile "${profile}" --package game_controller_app popd mkdir -p "${archivedir}/target/release" diff --git a/dist/mkdist-macos b/dist/mkdist-macos index 02df4a4..63a7f0f 100755 --- a/dist/mkdist-macos +++ b/dist/mkdist-macos @@ -39,10 +39,10 @@ popd pushd "${basedir}" if ${universal}; then - cargo build --target aarch64-apple-darwin --profile "${profile}" --project game_controller_app - cargo build --target x86_64-apple-darwin --profile "${profile}" --project game_controller_app + cargo build --target aarch64-apple-darwin --profile "${profile}" --package game_controller_app + cargo build --target x86_64-apple-darwin --profile "${profile}" --package game_controller_app else - cargo build --target "${target}" --profile "${profile}" --project game_controller_app + cargo build --target "${target}" --profile "${profile}" --package game_controller_app fi popd diff --git a/dist/mkdist-windows.ps1 b/dist/mkdist-windows.ps1 index c2cf2b8..5f5aae1 100644 --- a/dist/mkdist-windows.ps1 +++ b/dist/mkdist-windows.ps1 @@ -24,7 +24,7 @@ npm run build Pop-Location Push-Location $BaseDirectory -cargo build --target $Target --profile $BuildProfile --project game_controller_app +cargo build --target $Target --profile $BuildProfile --package game_controller_app Pop-Location New-Item -ItemType Directory -Path $(Join-Path $ArchiveDirectory "target\release")