Sha256: 8fa4a8162b90cfa54a1c35da278cb0b011f397e6310e0cf899bc61e270a051c6
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 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) puts 'Open Cakefile to edit and run xcake make to get your xcode project' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xcake-0.6.20 | lib/xcake/command/init.rb |