PageRenderTime 16ms CodeModel.GetById 10ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/Rakefile

http://github.com/jfahrenkrug/MapKit-HelloWorld
Rakefile | 25 lines | 21 code | 4 blank | 0 comment | 5 complexity | 8258b84667d65b9173dc0b933607f836 MD5 | raw file
 1
 2require 'objective-j'
 3require 'objective-j/bundletask'
 4
 5if !ENV['CONFIG']
 6    ENV['CONFIG'] = 'Debug'
 7end
 8
 9ObjectiveJ::BundleTask.new(:MapKitHelloWorld) do |t|
10    t.name          = 'MapKit-HelloWorld'
11    t.identifier    = 'com.yourcompany.MapKitHelloWorld'
12    t.version       = '1.0'
13    t.author        = 'Your Company'
14    t.email         = 'feedback @nospam@ yourcompany.com'
15    t.summary       = 'MapKit-HelloWorld'
16    t.sources       = FileList['*.j']
17    t.resources     = FileList['Resources/*']
18    t.index_file    = 'index.html'
19    t.info_plist    = 'Info.plist'
20    t.build_path    = File.join('Build', ENV['CONFIG'], 'MapKitHelloWorld')
21    t.flag          = '-DDEBUG' if ENV['CONFIG'] == 'Debug'
22    t.flag          = '-O' if ENV['CONFIG'] == 'Release'
23end
24
25task :default => [:MapKitHelloWorld]