Skip to content

Commit

Permalink
Fix mkdist scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ahasselbring committed Jun 21, 2023
1 parent 0151e92 commit 01ac99c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/mkdist-linux
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions dist/mkdist-macos
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion dist/mkdist-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 01ac99c

Please sign in to comment.