Skip to content

Commit

Permalink
Specify --package when trying to run relay_list
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Jan 21, 2025
1 parent eb27594 commit 692c562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ tasks.register<Exec>("generateRelayList") {

onlyIf { isReleaseBuild() || !relayListPath.exists() }

commandLine("cargo", "run", "--bin", "relay_list")
commandLine("cargo", "run", "-p", "mullvad-api", "--bin", "relay_list")

doLast {
val output = standardOutput as ByteArrayOutputStream
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ else
fi

log_info "Updating relays.json..."
cargo run --bin relay_list "${CARGO_ARGS[@]}" > build/relays.json
cargo run -p mullvad-api --bin relay_list "${CARGO_ARGS[@]}" > build/relays.json


log_header "Installing JavaScript dependencies"
Expand Down

0 comments on commit 692c562

Please sign in to comment.