lib/jets/builders/util.rb in jets-1.0.13 vs lib/jets/builders/util.rb in jets-1.0.15
- old
+ new
@@ -15,14 +15,10 @@
# full("bundled") => /tmp/jets/demo/bundled
def full(relative_path)
"#{Jets.build_root}/#{relative_path}"
end
- # Finds out of the app has polymorphic functions only and zero ruby functions.
- # In this case, we can skip a lot of the ruby related building and speed up the
- # deploy process.
def poly_only?
- return true if ENV['POLY_ONLY'] # bypass to allow rapid development of handlers
- Jets::Commands::Build.poly_only?
+ Jets.poly_only?
end
end
end
\ No newline at end of file