Skip to content

Commit f1498b2

Browse files
committed
Add rbs_collection.yaml
1 parent 05c4f9b commit f1498b2

File tree

4 files changed

+50
-0
lines changed

4 files changed

+50
-0
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
ruby-version: ${{ matrix.ruby }}
3636
bundler-cache: true
3737
- run: bundle install
38+
- run: bundle exec rbs collection install
3839
- run: bundle exec steep check
3940
test-ruby:
4041
runs-on: ubuntu-20.04

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.gem_rbs_collection/
12
/tmp
23
.irbrc
34
/Gemfile.lock

rbs_collection.lock.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
sources:
3+
- type: git
4+
name: ruby/gem_rbs_collection
5+
revision: 28208148c7e64a25e9b86b9723b4c3a2cef14e81
6+
remote: https://github.com/ruby/gem_rbs_collection.git
7+
repo_dir: gems
8+
path: ".gem_rbs_collection"
9+
gems:
10+
- name: erb
11+
version: '0'
12+
source:
13+
type: stdlib
14+
- name: stackprof
15+
version: '0.2'
16+
source:
17+
type: git
18+
name: ruby/gem_rbs_collection
19+
revision: 28208148c7e64a25e9b86b9723b4c3a2cef14e81
20+
remote: https://github.com/ruby/gem_rbs_collection.git
21+
repo_dir: gems
22+
- name: strscan
23+
version: '0'
24+
source:
25+
type: stdlib
26+
gemfile_lock_path: Gemfile.lock

rbs_collection.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Download sources
2+
sources:
3+
- type: git
4+
name: ruby/gem_rbs_collection
5+
remote: https://github.com/ruby/gem_rbs_collection.git
6+
revision: main
7+
repo_dir: gems
8+
9+
# You can specify local directories as sources also.
10+
# - type: local
11+
# path: path/to/your/local/repository
12+
13+
# A directory to install the downloaded RBSs
14+
path: .gem_rbs_collection
15+
16+
gems:
17+
- name: erb
18+
- name: strscan
19+
# Skip loading rbs gem's RBS.
20+
# It's unnecessary if you don't use rbs as a library.
21+
- name: rbs
22+
ignore: true

0 commit comments

Comments
 (0)