-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a short markdown readme for crates.io
- Loading branch information
Showing
3 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
name = "just" | ||
version = "0.3.2" | ||
version = "0.3.3" | ||
description = "🤖 Just a command runner" | ||
authors = ["Casey Rodarmor <[email protected]>"] | ||
license = "WTFPL OR MIT OR Apache-2.0" | ||
homepage = "https://github.com/casey/just" | ||
readme = "README.asc" | ||
readme = "crates-io-readme.md" | ||
|
||
[dependencies] | ||
ansi_term = "^0.9.0" | ||
|
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,22 @@ | ||
`just` is a handy way to save and run project-specific commands. | ||
|
||
Commands are stored in a file called `justfile` or `Justfile` with syntax inspired by `make`: | ||
|
||
```make | ||
build: | ||
cc *.c -o main | ||
|
||
# test everything | ||
test-all: build | ||
./test --all | ||
|
||
# run a specific test | ||
test TEST: build | ||
./test --test {{TEST}} | ||
``` | ||
|
||
`just` produces detailed error messages and avoids `make`'s idiosyncrasies, so debugging a justfile is easier and less surprising than debugging a makefile. | ||
|
||
It works on Linux, MacOS, and Windows. | ||
|
||
Read more on [GitHub](https://github.com/casey/just). |