/Rakefile
http://github.com/jfahrenkrug/MapKit-HelloWorld · Rakefile · 25 lines · 21 code · 4 blank · 0 comment · 5 complexity · 8258b84667d65b9173dc0b933607f836 MD5 · raw file
- require 'objective-j'
- require 'objective-j/bundletask'
- if !ENV['CONFIG']
- ENV['CONFIG'] = 'Debug'
- end
- ObjectiveJ::BundleTask.new(:MapKitHelloWorld) do |t|
- t.name = 'MapKit-HelloWorld'
- t.identifier = 'com.yourcompany.MapKitHelloWorld'
- t.version = '1.0'
- t.author = 'Your Company'
- t.email = 'feedback @nospam@ yourcompany.com'
- t.summary = 'MapKit-HelloWorld'
- t.sources = FileList['*.j']
- t.resources = FileList['Resources/*']
- t.index_file = 'index.html'
- t.info_plist = 'Info.plist'
- t.build_path = File.join('Build', ENV['CONFIG'], 'MapKitHelloWorld')
- t.flag = '-DDEBUG' if ENV['CONFIG'] == 'Debug'
- t.flag = '-O' if ENV['CONFIG'] == 'Release'
- end
- task :default => [:MapKitHelloWorld]