-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mold/.clones |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[[includes]] | ||
url = "https://github.com/philipdexter/std.mold" | ||
|
||
[recipes.build] | ||
help = "Build using cargo" | ||
command = ["cargo", "build"] | ||
|
||
[recipes.check] | ||
help = "Check for errors using cargo" | ||
command = ["cargo", "check"] | ||
|
||
[recipes.test] | ||
help = "Run tests using cargo" | ||
command = ["cargo", "test"] | ||
|
||
[recipes.install] | ||
help = "Install the current project using cargo" | ||
command = ["cargo", "install", "--force", "--path", "."] | ||
|
||
[recipes.fmt] | ||
help = "Format using rustfmt" | ||
command = ["cargo", "fmt"] | ||
|
||
[recipes.clean] | ||
help = "Clean build artifacts using cargo" | ||
command = ["cargo", "clean"] | ||
|
||
[recipes.clean-self] | ||
help = "Clean build artifacts using cargo" | ||
type = "sh" | ||
|
||
[recipes.lint] | ||
help = "Lint using clippy" | ||
command = ["cargo", "clippy", "--", "-D", "warnings"] | ||
deps = ["clean-self"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
guess=$(cat Cargo.toml | grep "^name") | ||
echo $guess |