.builders/boot.rb in tailwind_dsl-0.0.2 vs .builders/boot.rb in tailwind_dsl-0.0.3
- old
+ new
@@ -14,10 +14,15 @@
def camel
require 'handlebars/helpers/string_formatting/camel'
Handlebars::Helpers::StringFormatting::Camel.new
end
+def snake
+ require 'handlebars/helpers/string_formatting/snake'
+ Handlebars::Helpers::StringFormatting::Snake.new
+end
+
def titleize
require 'handlebars/helpers/string_formatting/titleize'
Handlebars::Helpers::StringFormatting::Titleize.new
end
@@ -47,9 +52,12 @@
config.template_folders.add(:global_template , global_template)
config.template_folders.add(:template , File.expand_path('.templates', Dir.pwd))
config.target_folders.add(:app , base_folder)
+ config.target_folders.add(:lib , :app, 'lib', 'tailwind_dsl')
+ config.target_folders.add(:spec , :app, 'spec', 'tailwind_dsl')
+ config.target_folders.add(:docs , :app, 'docs')
config.target_folders.add(:builder , builder_folder)
end
KConfig.configuration(CONFIG_KEY).debug