We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30fbbd8 commit 521c791Copy full SHA for 521c791
Rakefile
@@ -13,11 +13,9 @@ end
13
14
desc "Run type checks (RBS + Steep)"
15
task :steep do
16
- puts ENV['RUBYOPT']
17
ENV['RUBYOPT'] = ENV['RUBYOPT'].sub('--enable-frozen-string-literal', '')
18
19
bindir = Dir[File.join(ENV['HOME'], '.local/share/gem/ruby/*/bin')].last
20
- sh "#{File.join(bindir, 'steep')} check"
+ bindir ? sh("#{File.join(bindir, 'steep')} check") : puts("can't find steep")
21
end
22
23
desc "Run example scripts"
0 commit comments