Sha256: 632dd4b9e9642402960109fda9b77031b1f04d1225f5f51706e3f9f299ef2b89
Contents?: true
Size: 754 Bytes
Versions: 31
Compression:
Stored size: 754 Bytes
Contents
module Steep module Drivers module Utils module DriverHelper attr_accessor :steepfile def load_config(path: steepfile || Pathname("Steepfile")) raise "Cannot find a configuration at #{path}: `steep init` to scaffold" unless path.file? steep_file_path = path.absolute? ? path : Pathname.pwd + path Project.new(steepfile_path: steep_file_path).tap do |project| Project::DSL.parse(project, path.read, filename: path.to_s) end end def type_check(project) project.targets.each do |target| Steep.logger.tagged "target=#{target.name}" do target.type_check end end end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems