Sha256: 81ad4ae25edf12ea8b66fdeb2a342e745c705e199cd885bbffe6ea3ce0092513
Contents?: true
Size: 951 Bytes
Versions: 4
Compression:
Stored size: 951 Bytes
Contents
D = Steep::Diagnostic target :app do check "lib" signature "sig" collection_config "rbs_collection.steep.yaml" configure_code_diagnostics do |hash| # You can setup everything yourself hash[D::Ruby::MethodDefinitionMissing] = :hint end FileUtils.mkpath("tmp") tmp_rbs_dir = File.join("tmp", "rbs-sig") definition = Bundler::Definition.build(Pathname("Gemfile"), Pathname("Gemfile.lock"), nil) rbs_dep = definition.dependencies.find {|dep| dep.name == "rbs" } if (source = rbs_dep.source).is_a?(Bundler::Source::Path) unless Pathname(tmp_rbs_dir).exist? FileUtils.ln_s(Pathname.pwd + source.path + "sig", tmp_rbs_dir, force: true) end signature tmp_rbs_dir else FileUtils.rm_f(tmp_rbs_dir) library "rbs" end library( "rdoc", "monitor", "tsort", "uri", 'yaml', 'pstore', 'singleton', 'shellwords', 'find', 'digest', "optparse", ) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
steep-1.4.0 | Steepfile |
steep-1.4.0.dev.5 | Steepfile |
steep-1.4.0.dev.4 | Steepfile |
steep-1.4.0.dev.3 | Steepfile |