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

tweaks for hash_file #282

Merged
merged 1 commit into from
May 27, 2024
Merged

tweaks for hash_file #282

merged 1 commit into from
May 27, 2024

Conversation

robert-king
Copy link
Contributor

@robert-king robert-king commented May 13, 2024

I'd appreciate a code review on this as i'm pretty new to contributing to open source rust.

In Cargo.toml one can add
hash-file-name="my-hash-file.txt"

(it was erroneously checking for "hash-file" instead of "hash-file-name"). This is potentially a breaking change but shouldn't affect anyone since it was a bug to begin with?

Ensure the environment variable LEPTOS_HASH_FILE_NAME is allowed.

fix the directory of hash.txt when cross compiling by using the exact directory that the binary is in.

Cheers

fixes: #278

Copy link
Contributor

@maccesch maccesch left a comment

Choose a reason for hiding this comment

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

Looks good to me. Nice work!

@gbj gbj merged commit 159f649 into leptos-rs:main May 27, 2024
8 checks passed
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.

Consider compile target when placing hash.txt
3 participants