Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
grant0417 merged 1 commit intowithfig:masterfrombeeinger:master
Nov 20, 2023

Conversation

@beeinger
Copy link
Contributor

Addedcargo-make completion with Makefile.toml tasks resolving.

@withfig-bot
Copy link
Contributor

withfig-bot commentedNov 20, 2023
edited
Loading

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@beeinger
Copy link
ContributorAuthor

I have read the CLA Document and I hereby sign the CLA

withfig-bot added a commit that referenced this pull requestNov 20, 2023
@withfig-bot
Copy link
Contributor

Overview

src/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:

  • https://crates.io/api/v1/crates/
  • https://crates.io/api/v1/crates?q=

@withfig-bot
Copy link
Contributor

Hello@beeinger,
thank you very much for creating a Pull Request!
Here is a small checklist to get this PR merged as quickly as possible:

  • Do all subcommands / options which take arguments include theargs property (args: {})?
  • Are all options modular? E.g.-a-u-x instead of-aux
  • Have all other checks passed?

Please add a 👍 as a reaction to this comment to show that you read this.

beeinger reacted with thumbs up emoji

@grant0417grant0417 merged commit65a073c intowithfig:masterNov 20, 2023
@withfigwithfig locked and limited conversation to collaboratorsNov 20, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@grant0417grant0417grant0417 approved these changes

@mschragemschrageAwaiting requested review from mschragemschrage is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@beeinger@withfig-bot@grant0417

[8]ページ先頭

©2009-2025 Movatter.jp