lib/ember_cli/app.rb in ember-cli-rails-0.9.0 vs lib/ember_cli/app.rb in ember-cli-rails-0.10.0
- old
+ new
@@ -31,10 +31,14 @@
def dist_path
paths.dist
end
+ def cached_directories
+ paths.cached_directories
+ end
+
def compile
@compiled ||= begin
prepare
exit_status = @shell.compile
@build.check!
@@ -79,9 +83,17 @@
@build.check!
end
def mountable?
deploy.mountable?
+ end
+
+ def yarn_enabled?
+ options.fetch(:yarn, false)
+ end
+
+ def bower?
+ paths.bower_json.exist?
end
def to_rack
deploy.to_rack
end