-
Notifications
You must be signed in to change notification settings - Fork 127
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
Support using cargo make
as library
#1112
Support using cargo make
as library
#1112
Conversation
… useful symbols for use `cargo-make` as library
…tions with `&` to avoid `clone`s ; [src/lib/**.rs] Fix build with new function definitions
… `CargoMakeError`
@SamuelMarks amazing job thanks a lot. its actually something i wanted to do for a long time but didn't have the capacity so its great. |
@sagiegurari Great to hear you're open to this PR! Let me take a look at the failing test and see if I can't resolve. |
…l,.lock}] Remove `either`
…ly with `#![feature(try_trait_v2)]`
…rguments` ; `parse_args` cleanup so `return` is unnecessary
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 0.37.14 #1112 +/- ##
============================================
+ Coverage 69.27% 92.70% +23.42%
============================================
Files 118 119 +1
Lines 26049 26203 +154
============================================
+ Hits 18046 24292 +6246
+ Misses 8003 1911 -6092 ☔ View full report in Codecov by Sentry. |
@SamuelMarks your fixes solve the CI issue but i also merged #1109 which caused some merge conflicts. any chance you can resolve it so i'll push this? thanks |
# Conflicts: # src/lib/cli.rs # src/lib/cli_commands/diff_steps.rs # src/lib/cli_commands/print_steps.rs # src/lib/cli_commands/print_steps_test.rs # src/lib/execution_plan.rs # src/lib/execution_plan_test.rs # src/lib/runner.rs
@sagiegurari Resolved that merge conflict, still some weirdness going with this logic: Once resolved let's try and merge this quickly before more PRs come through! - As this PR changes the whole codebase, adding error handling &etc. |
thanks. there are no PRs at the moment so i wouldn't worry about it. |
Cool cool; no I mean 18 tests are failing because of that logic I linked. What do you want that logic to be? - Silent ignore? - Ignore but give a warning message? - Something else? EDIT: Committed up code which comments out the |
…eError::NotFound` on `skip_init_end_tasks` & `skip_init_end_tasks` & `end_task`
I'll review the updated code tomorrow. if it makes a fuzz, drop the legacy migration task from the codebase as i want to delete it anyway. |
… enable library authors to expand the spec (* might need some post-processing)
@SamuelMarks merging. thanks a lot |
@SamuelMarks while merging it to master (and planning to release it), i saw that there is an unsafe block and its crashing in mac OS in the ci cd flow. https://github.com/sagiegurari/cargo-make/actions/runs/9970773762 |
Related to and closes #1110