Skip to content

Commit 299408d

Browse files
committed
feat: stories in justfile
1 parent b5d4374 commit 299408d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Most new code should have tests. It should also pass `cy`'s continuous integrati
88

99
To hack on `cy`, you only need a recent [Go toolchain](https://go.dev/doc/install) and a clone of [the cy repository](https://github.com/cfoust/cy).
1010

11-
For convenience, `cy` provides a configuration file for [just](https://github.com/casey/just), so you can execute commands like `just build`, `just format`, `just test`, and `just run` and they will work as expected.
11+
For convenience, `cy` provides a configuration file for [just](https://github.com/casey/just), so you can execute commands like `just build`, `just format`, `just stories`, `just test`, and `just run` and they will work as expected.
1212

1313
You can build and run `cy` from source with the following command. This is convenient for testing small changes.
1414

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ install:
77
test:
88
go test ./pkg/... ./cmd/...
99

10-
stories:
11-
go run ./cmd/stories/...
10+
stories *args:
11+
go run ./cmd/stories/... {{args}}
1212

1313
format:
1414
go fmt ./pkg/... ./cmd/...

0 commit comments

Comments
 (0)