Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rust programs to path #37

Merged
merged 1 commit into from
Jun 27, 2024
Merged

add rust programs to path #37

merged 1 commit into from
Jun 27, 2024

Conversation

James-Mart
Copy link
Member

Primarily so we can more easily use locally built cargo-psibase in psibase contributor

@James-Mart James-Mart marked this pull request as ready for review June 25, 2024 16:51
@@ -85,6 +85,9 @@ RUN mkdir -p ${PSINODE_PATH} \
&& git clone https://github.com/gofractally/psibase.git . \
&& git submodule update --init --recursive

# Add locally built rust programs to path
ENV PATH=${PSINODE_PATH}/build/rust/release:$PATH
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this the right way, or would it be better to install cargo-psibase?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, I've been thinking that it's better to use the locally built one. Just like we don't install psinode and psibase from the last psidk release either

Copy link
Collaborator

Choose a reason for hiding this comment

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

I meant, should cargo-psibase be installed to psidk/bin (like psibase) instead of being used from the build directory.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, I see, that's probably a good idea. Although that would mean that cargo-psibase would be distributed with psidk, right? I'd imagine typically the correct way to install cargo-psibase is using cargo install directly.

@James-Mart James-Mart merged commit 026587e into main Jun 27, 2024
8 checks passed
@swatanabe swatanabe deleted the update-path branch September 10, 2024 16:07
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