Sha256: 088f3cb24ba57a66432e4b7fa37730c75502385dfd49d12607e6e9e1c66745d6
Contents?: true
Size: 483 Bytes
Versions: 26
Compression:
Stored size: 483 Bytes
Contents
module Xcake class Command class Init < Command self.summary = 'Initilises an example Cakefile for creating a project' self.description = 'Initilises an example Cakefile for creating a project' 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 end end end
Version data entries
26 entries across 26 versions & 1 rubygems