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

Watched install targets #32

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Watched install targets #32

merged 2 commits into from
Sep 24, 2024

Conversation

umut-sahin
Copy link
Contributor

(closes #31)

It also introduces optimized versions of install targets.

@umut-sahin umut-sahin requested a review from quernd September 23, 2024 15:20
@umut-sahin umut-sahin self-assigned this Sep 23, 2024
@brandonwillard brandonwillard added the enhancement New feature or request label Sep 23, 2024
brandonwillard
brandonwillard previously approved these changes Sep 23, 2024
Copy link
Member

@brandonwillard brandonwillard left a comment

Choose a reason for hiding this comment

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

cargo watch -x 'run-script install' seems to loop indefinitely on my machine (i.e. pip install ...-ing over and over).

@quernd
Copy link

quernd commented Sep 23, 2024

cargo watch -x 'run-script install' seems to loop indefinitely on my machine (i.e. pip install ...-ing over and over).

Try cargo watch -w src -x 'run-script install' to only watch the src directory. It might be watching build directories.

@brandonwillard brandonwillard dismissed their stale review September 23, 2024 23:25

The merge-base changed after approval.

Copy link
Member

@brandonwillard brandonwillard left a comment

Choose a reason for hiding this comment

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

cargo watch -x 'run-script install' seems to loop indefinitely on my machine (i.e. pip install ...-ing over and over).

Try cargo watch -w src -x 'run-script install' to only watch the src directory. It might be watching build directories.

If that's the case, let's add it to the Makefile. N.B. Seems like it should also be watching Cargo.toml.

@brandonwillard brandonwillard merged commit 91a71ea into main Sep 24, 2024
7 checks passed
@brandonwillard brandonwillard deleted the auto-install-target branch September 24, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request run-benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a Makefile target for automated re-installs to Python venv on Rust changes
3 participants