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")