lib/xmvc/builder.rb in xmvc-0.1.4 vs lib/xmvc/builder.rb in xmvc-0.1.5

- old
+ new

@@ -8,23 +8,21 @@ desc "all", "Build all assets" def all(*params) Xmvc.ui.warn('build all assets with sprcokets') sec = Sprockets::Secretary.new({ - :source_files => Xmvc.environment.get("javascripts") + :source_files => Xmvc::Config["javascripts"] }) - create_file("public/javascripts/app/app-all-debug.js", sec.concatenation) + #create_file("public/javascripts/app/app-all-debug.js", sec.concatenation) end desc "setup", "Initialize config file" def setup Xmvc.ui.warn("Builder setup") Xmvc.secretary = Sprockets::Secretary.new({}) Xmvc.public_path = File.expand_path("public") - host = Vendor.new([], { - :debug => true - }) + host = Vendor.new([], {}) host.invoke("app", [Xmvc.environment]) end private \ No newline at end of file