Class: Fumoffu::Generators::Lib
- Defined in:
- lib/fumoffu/generators/fumoffu_lib_generator.rb
Class Method Summary collapse
Class Method Details
.copy_libraries ⇒ Object
17 18 19 20 21 |
# File 'lib/fumoffu/generators/fumoffu_lib_generator.rb', line 17 def self.copy_libraries source_dir = File.dirname(__FILE__)+"/templates" cp "#{source_dir}/interface/lib/AbsoluteLayout.jar", "#{Fumoffu::Application.app_dir}/interface/lib", :verbose => false cp "#{source_dir}/interface/lib/SwingLayout.jar", "#{Fumoffu::Application.app_dir}/interface/lib", :verbose => false end |
.generate ⇒ Object
4 5 6 7 |
# File 'lib/fumoffu/generators/fumoffu_lib_generator.rb', line 4 def self.generate generate_dirs copy_libraries end |
.generate_dirs ⇒ Object
9 10 11 12 13 14 |
# File 'lib/fumoffu/generators/fumoffu_lib_generator.rb', line 9 def self.generate_dirs # We generate the containers mkdir_p "#{Fumoffu::Application.app_dir}/engine/lib/java/generated", :verbose => false mkdir_p "#{Fumoffu::Application.app_dir}/engine/lib/ruby", :verbose => false mkdir_p "#{Fumoffu::Application.app_dir}/interface/lib", :verbose => false end |