File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
# Sorbet
6
6
7
+ NOTE: This code is in Sourcegraph's fork of Sorbet, modified to add support
8
+ for emitting SCIP indexes. See scip-ruby.md for details on running tests etc.
9
+ The original README follows below.
10
+
11
+ ---
12
+
7
13
This repository contains Sorbet, a fast, powerful type checker designed for Ruby.
8
14
It aims to be easy to add to existing codebases with gradual types, and fast to
9
15
respond with errors and suggestions.
Original file line number Diff line number Diff line change
1
+ # scip-ruby
2
+
3
+ ## Building
4
+
5
+ ```
6
+ ./bazel build //main:scip-ruby --config=dbg
7
+ ```
8
+
9
+ For more information about configurations, see the main [ README] ( ./README.md ) .
10
+
11
+ ## IDE Integration
12
+
13
+ Generate ` compile_commands.json ` as per the main [ README] ( ./README.md ) ,
14
+ and point your editor to it.
15
+
16
+ ## Generating a SCIP index
17
+
18
+ NOTE: The binary will be somewhere under ` bazel-out ` depending on the exact config.
19
+
20
+ ```
21
+ scip-ruby myfile.rb --index-file index.scip
22
+ ```
23
+
24
+ ## Running SCIP tests
25
+
26
+ ```
27
+ ./bazel test //test/scip --config=dbg
28
+ ```
29
+
30
+ Updating snapshots
31
+
32
+ ```
33
+ ./bazel test //test/scip:update --config=dbg
34
+ ```
You can’t perform that action at this time.
0 commit comments