You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,11 @@ To learn more about JSON Schema, read [Understanding JSON Schema](https://json-s
11
11
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.
12
12
2. Add the new function in [`schemas/schema.json`](schemas/schema.json) to `definitions/function`.
13
13
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.
17
20
18
21
See [this commit that adds Min/Max functions](https://github.com/jnunemaker/flipper/commit/ee46fab0cda21a32c3a921a8ed1fb94b0842b6b4) for a concrete example.
0 commit comments