class Xcake::Command::Init
Public Instance Methods
run()
click to toggle source
# File lib/xcake/command/init.rb, line 7 def run cakefile_path = "#{File.dirname(__FILE__)}/../resources/Cakefile" cakefile_contents = File.read(cakefile_path) File.write('Cakefile', cakefile_contents) EventHooks.run_hook(:after_cakefile_init) end