Sha256: 006de2869fb25a9ca7c194f374f8384ace1447847bf06820537a6ee90fab1aa1

Contents?: true

Size: 686 Bytes

Versions: 2

Compression:

Stored size: 686 Bytes

Contents

#COMMANDS[:build]=['xcodebuild clean -scheme Hydrogen -destination "name=iPhone 6"',
#                    'xcodebuild build -scheme Hydrogen -destination "name=iPhone 6"']
#  COMMANDS[:test]=['xcodebuild test -scheme Hydrogen -destination "name=iPhone 6"'] if RUBY_PLATFORM.include?('darwin')

class XCodeBuild < Hash
	def self.get_build_commands xcodeproj_filename
        build_commands=Array.new 
        name=xcodeproj_filename.gsub('.xcodeproj','')
        build_commands << "xcodebuild clean -scheme #{name} -destination \"name=iPhone 6\""
        build_commands << "xcodebuild build -scheme #{name} -destination \"name=iPhone 6\""  
        build_commands
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dev-2.0.279 lib/apps/xcodebuild.rb
dev-2.0.278 lib/apps/xcodebuild.rb