Sha256: a230bdb38cfd85d14eeccf3cad93c1fc30d3f2399949dac88a68a325c80db895
Contents?: true
Size: 622 Bytes
Versions: 6
Compression:
Stored size: 622 Bytes
Contents
require "singleton" module EmberCLI class Configuration include Singleton def app(name, options={}) apps.store name, App.new(name, options) end def apps @apps ||= HashWithIndifferentAccess.new end def tee_path return @tee_path if defined?(@tee_path) @tee_path = Helpers.which("tee") end def ember_path @ember_path ||= Helpers.which("ember").tap do |path| fail "ember-cli executable could not be found" unless path end end def build_timeout @build_timeout ||= 5 end attr_writer :ember_path, :build_timeout end end
Version data entries
6 entries across 6 versions & 1 rubygems