Sha256: fe7e39147d170743513c613f590f634bbdf38513c4479ed2c178e67745a1aea1
Contents?: true
Size: 557 Bytes
Versions: 2
Compression:
Stored size: 557 Bytes
Contents
require "singleton" module EmberCLI class Configuration include Singleton def app(name, **options) apps.store name, BuildServer.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 attr_writer :ember_path end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ember-cli-rails-0.0.3 | lib/ember-cli/configuration.rb |
ember-cli-rails-0.0.2 | lib/ember-cli/configuration.rb |