Skip to content

Commit

Permalink
chore: remove schema generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Dec 11, 2024
1 parent 6d05e3b commit ecfa719
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 187 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ jobs:
if: contains(matrix.os, 'ubuntu')
run: diff <(./target/release/examples/dlint rules --json) www/static/docs.json

- name: Check if schemas are up-to-date
if: contains(matrix.os, 'ubuntu')
run: deno run --allow-run --allow-read=schemas --allow-write=schemas tools/generate_schemas.ts --check

- name: Benchmarks
if: contains(matrix.os, 'ubuntu')
run: deno run -A --quiet benchmarks/benchmarks.ts
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,3 @@ Before submitting, please make sure the following is done:
1. Run `cargo build --example dlint --all-features`
2. Update docs by running the generated binary with these arguments
`./target/debug/examples/dlint rules --json > www/static/docs.json`
3. Update schema via `deno task update-schemas`
3 changes: 1 addition & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"lock": false,
"tasks": {
"update-docs": "cargo run --features=docs --example dlint rules --json > www/static/docs.json",
"update-schemas": "deno run --allow-run --allow-read=schemas --allow-write=schemas tools/generate_schemas.ts"
"update-docs": "cargo run --features=docs --example dlint rules --json > www/static/docs.json"
},
"exclude": [
"target",
Expand Down
127 changes: 0 additions & 127 deletions schemas/rules.v1.json

This file was deleted.

4 changes: 0 additions & 4 deletions schemas/tags.v1.json

This file was deleted.

49 changes: 0 additions & 49 deletions tools/generate_schemas.ts

This file was deleted.

0 comments on commit ecfa719

Please sign in to comment.