Skip to content

Commit 5ac3891

Browse files
committed
Update README after extracting repo
1 parent dca7134 commit 5ac3891

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ To learn more about JSON Schema, read [Understanding JSON Schema](https://json-s
1111
1. Describe arguments by creating a new file in [`schemas/`](schemas/) named `NewName.schema.json`. You can copy an existing function that has similar semantics to get started.
1212
2. Add the new function in [`schemas/schema.json`](schemas/schema.json) to `definitions/function`.
1313
3. Create a new file in [`examples/`](./examples) named `NewName.json` with valid and invalid examples for the new function. See other examples for inspiration.
14-
4. Run `yarn test` in `packages/expressions` and ensure tests pass.
15-
5. Implement the function in [`lib/flipper/expressions/`](../../lib/flipper/expressions/).
16-
6. Run `rspec` to ensure tests pass.
14+
4. Run `yarn test` and ensure tests pass.
15+
16+
Implement the expression in [@flippercloud/flipper](https://github.com/flippercloud/flipper):
17+
18+
1. Add `lib/flipper/expressions/new_name.rb` to [@flippercloud/flipper](https://github.com/flippercloud/flipper/tree/main/lib/flipper/expressions).
19+
2. Run `rspec` to ensure tests pass.
1720

1821
See [this commit that adds Min/Max functions](https://github.com/jnunemaker/flipper/commit/ee46fab0cda21a32c3a921a8ed1fb94b0842b6b4) for a concrete example.

0 commit comments

Comments
 (0)