7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/fumoffu/generators/fumoffu_generator.rb', line 7
def self.generate
Configuration.generate
Lib.generate
Source.generate
cp_r "#{File.dirname(__FILE__)}/templates/scripts", "#{Fumoffu::Application.app_dir}/", :verbose => false
@dir_structure = [
"dist",
"engine/log",
"engine/resources",
"interface/resources/medias",
"scripts",
"interface/test",
"engine/test/spec"
]
@dir_structure.each do |dir|
mkdir_p "#{Fumoffu::Application.app_dir}/#{dir}", :verbose => false
end
end
|