Skip to content

Commit 01ac99c

Browse files
committed
Fix mkdist scripts
1 parent 0151e92 commit 01ac99c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/mkdist-linux

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ npm run build
2323
popd
2424

2525
pushd "${basedir}"
26-
cargo build --target "${target}" --profile "${profile}" --project game_controller_app
26+
cargo build --target "${target}" --profile "${profile}" --package game_controller_app
2727
popd
2828

2929
mkdir -p "${archivedir}/target/release"

dist/mkdist-macos

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ popd
3939

4040
pushd "${basedir}"
4141
if ${universal}; then
42-
cargo build --target aarch64-apple-darwin --profile "${profile}" --project game_controller_app
43-
cargo build --target x86_64-apple-darwin --profile "${profile}" --project game_controller_app
42+
cargo build --target aarch64-apple-darwin --profile "${profile}" --package game_controller_app
43+
cargo build --target x86_64-apple-darwin --profile "${profile}" --package game_controller_app
4444
else
45-
cargo build --target "${target}" --profile "${profile}" --project game_controller_app
45+
cargo build --target "${target}" --profile "${profile}" --package game_controller_app
4646
fi
4747
popd
4848

dist/mkdist-windows.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ npm run build
2424
Pop-Location
2525

2626
Push-Location $BaseDirectory
27-
cargo build --target $Target --profile $BuildProfile --project game_controller_app
27+
cargo build --target $Target --profile $BuildProfile --package game_controller_app
2828
Pop-Location
2929

3030
New-Item -ItemType Directory -Path $(Join-Path $ArchiveDirectory "target\release")

0 commit comments

Comments
 (0)