Skip to content

chore: PocketIC binary path#75

Open
fxgst wants to merge 1 commit intomainfrom
elias/hello
Open

chore: PocketIC binary path#75
fxgst wants to merge 1 commit intomainfrom
elias/hello

Conversation

@fxgst
Copy link
Copy Markdown
Contributor

@fxgst fxgst commented Jun 2, 2025

Look for the binary in

  • the POCKET_IC_BIN variable
  • current directory
  • on the PATH

in that order.

@fxgst fxgst requested a review from a team as a code owner June 2, 2025 13:32
Copy link
Copy Markdown
Contributor

@mraszyk mraszyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we follow the convention of the Rust library:

  • a builder pattern (PocketIcBuilder::with_server_binary);
  • the environment variable (POCKET_IC_BIN);
  • a temporary path (/tmp/pocket-ic-server-9.0.2/pocket-ic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants