Sha256: 45c7225c2d5191d0164961742d4f6d164b50cfc7dbd5e720c4d7a0c35b9544b9
Contents?: true
Size: 515 Bytes
Versions: 4
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 bake to get your xcode project" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
xcake-0.5.3 | lib/xcake/command/init.rb |
xcake-0.5.2 | lib/xcake/command/init.rb |
xcake-0.5.1 | lib/xcake/command/init.rb |
xcake-0.5.0 | lib/xcake/command/init.rb |