Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.5k
feat(cargo-make): add cargo-make autocompletion and Makefile.toml support#2180
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
withfig-bot commentedNov 20, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
Overviewsrc/cargo.ts:Info:Single Functions:custom: asyncfunction(tokens,executeCommand){letmakefileLocation="Makefile.toml";constmakefileFlagIdx=tokens.findIndex((param)=>param==="--makefile");if(makefileFlagIdx!==-1&&tokens.length>makefileFlagIdx+1)makefileLocation=tokens[makefileFlagIdx+1];constargs=[makefileLocation];const{ stdout}=awaitexecuteCommand({command:"cat", args,});consttaskRegex=/\[tasks\.([^\]]+)\]/g;letmatch;consttasks=[];while((match=taskRegex.exec(stdout))!==null){tasks.push({name:match[1],});}returntasks;} URLs:
|
Hello@beeinger,
Please add a 👍 as a reaction to this comment to show that you read this. |
Addedcargo-make completion with Makefile.toml tasks resolving.