Skip to content

Commit ddffcca

Browse files
committed
Remove generated types from checkin
1 parent ffeb05d commit ddffcca

48 files changed

Lines changed: 5 additions & 50907 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ test/prism/fixtures/unparser/**/*.txt linguist-vendored
88
test/prism/fixtures/whitequark/**/*.txt linguist-vendored
99
test/prism/snapshots/**/*.txt linguist-generated
1010

11-
rbi/generated/**/*.rbi linguist-generated
12-
sig/generated/**/*.rbs linguist-generated
13-
1411
# All .rb files should have LF line ending, even on Windows, regardless of the git config core.autocrlf value.
1512
# All .txt should have their line endings as committed in the repository (there are some intentional CR in there),
1613
# regardless of the git config core.autocrlf value.

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
with:
5151
ruby-version: "3.4"
5252
bundler-cache: true
53+
- name: Generate types
54+
run: bundle exec rake typecheck:rbs_inline typecheck:rbi
5355
- name: Check Sorbet
5456
run: bundle exec rake typecheck:tapioca typecheck:sorbet
5557
- name: Check Steep

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ out.svg
6060
/src/serialize.c
6161
/src/token_type.c
6262
/src/**/*.o
63+
/rbi/generated/
6364
/rbi/prism/dsl.rbi
6465
/rbi/prism/node.rbi
6566
/rbi/prism/visitor.rbi
67+
/sig/generated/
6668

6769
compile_commands.json
6870
.cache/

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ task compile_no_debug: %i[make_no_debug compile]
2323
task compile_minimal: %i[make_minimal compile]
2424

2525
# decorate the gem build task with prerequisites
26-
task build: [:check_manifest, :templates]
26+
task build: [:check_manifest, :templates, "typecheck:rbs_inline", "typecheck:rbi"]
2727

2828
# the C extension
2929
task "compile:prism" => ["templates"] # must be before the ExtensionTask is created

rbi/generated/prism.rbi

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)