bin/flok in flok-0.0.10 vs bin/flok in flok-0.0.11

- old
+ new

@@ -21,19 +21,21 @@ option :compress, type: :boolean desc "build", "Build a flok project, you must be in the root of the project" def build Dir.mkdir("./public") unless File.exists?("./public") - FileUtils.touch "./public/application.js" + FileUtils.touch "./products/application.js" + FileUtils.touch "../FlokTest/app/assets/javascripts/flok.js" src = Flok::MergeSource.merge_all #Compress by writing to a temporary dir, run closure, and then put back if options["compress"] == true src = Closure::Compiler.new.compile(src) end - File.write("./public/application.js", src) + File.write("./products/application.js", src) + File.write("../FlokTest/app/assets/javascripts/flok.js", src) end end FlokCLI.start(ARGV)