Comments (4)
Somehow missed this, thanks 🥳 🙇 ❤️
Having
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
[config]
skip_core_tasks = true
in each crate was also essential, thank you :)
from cargo-make.
not sure you need the config if you have the env part in the crates and younhave workspace level Toml that has the config.... but ok
from cargo-make.
Workspace level config alone didn't do the trick, but maybe I did something wrong 🤔
For now I'm happy, I might circle back to check whether there's a more optimal/concise solution :)
from cargo-make.
- removing ALL default tasks
https://github.com/sagiegurari/cargo-make?tab=readme-ov-file#disabling-predefined-tasksflows
[config]
skip_core_tasks = true
- removing task level parent definition (not really needed if you did item 1)
https://github.com/sagiegurari/cargo-make?tab=readme-ov-file#extending-tasks
[tasks.whatever]
clear = true
this is actually like your no_defaults i guess
also if you are in a workspace, make sure you have Makefile.toml in each crate with following:
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
see more at:
https://github.com/sagiegurari/cargo-make?tab=readme-ov-file#usage-workspace-extend
from cargo-make.
Related Issues (20)
- replace cargo test with cargo nextest run for better performance & test summary report HOT 4
- Decode map environment variable overwrites existing one even with env_not_set condition HOT 2
- Why the post/pre hook does not work as expected? HOT 1
- Add typos check into ci workflow HOT 2
- `script_runner_args` not passed to `@rust` `script_runner` HOT 6
- Only forwarding ctrl-c to task HOT 1
- `#!@rust` `load_script` fails to execute HOT 4
- CARGO_MAKE_CRATE_NAME not being set based on task cwd HOT 3
- Installation only tasks always check crates.io HOT 2
- Env var evaluation order is wrong HOT 3
- `CARGO` env variable does not get set when running commands HOT 3
- `install_crate` dependencies not installing if newer version is already installed HOT 8
- `install_crate` does not get overridden HOT 1
- cargo-make not respecting `toolchain` HOT 1
- Hide cargo-make's log, but show script's stdout HOT 1
- Feature Request: Add a way to pass `args` to `script_runner` of a `condition_script` HOT 2
- `cm_plugin_run_custom_task` will fail to run a task json if it contains `private` field HOT 2
- error: variable does not need to be mutable HOT 1
- Error installing on Void Linux musl libc version HOT 5
- How to build statically? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-make.