require "assetify/tui" module Assetify Opt = { :vendor => "public/vendor", :newname => true } TSIZE = 80 LINE = TUI.new ASSETS_PATH = "vendor/assets" ASSETS = [:javascripts, :stylesheets, :images] ASSETS.each do |asset| Opt.merge!(asset => "#{ASSETS_PATH}/#{asset}") end class NoJSFile < StandardError end end # Ruby Extensions require "assetify/extensions/string" # Text Interface require "assetify/tui/term" require "assetify/tui/colored" # Core require "assetify/helpers" require "assetify/asset" require "assetify/dsl" module Assetify class << self # # Jsfile stuff # def no_jsfile! print "Jsfile not found, create one? [Y/n] " res = gets.chomp unless res =~ /n|N/ File.open("Jsfile", "w+") do |f| f.print <