lib/transcriptic/project_generator.rb in transcriptic-0.2.3 vs lib/transcriptic/project_generator.rb in transcriptic-0.2.4
- old
+ new
@@ -18,19 +18,24 @@
default: false
def generate
empty_directory target.join('app')
empty_directory target.join('project')
+ empty_directory target.join('logs')
template 'app/Main.erb', target.join('app/Main.scala')
template 'project/Build.erb', target.join('project/Build.scala')
copy_file 'project/build.properties', target.join('project/build.properties')
copy_file 'project/plugins.sbt', target.join('project/plugins.sbt')
copy_file 'README.md', target.join('README.md')
template 'LICENSE.erb', target.join('LICENSE')
template 'Labfile.erb', target.join('Labfile')
Transcriptic::DependenciesGenerator.new([File.join(Dir.pwd, name), []], options).invoke_all
+ end
+
+ def autoprotocol_version
+ Transcriptic::AUTOPROTOCOL_VERSION
end
def description
options[:description]
end
\ No newline at end of file