-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
25 lines (21 loc) · 800 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'objective-j'
require 'objective-j/bundletask'
if !ENV['CONFIG']
ENV['CONFIG'] = 'Debug'
end
ObjectiveJ::BundleTask.new(:EngJourneering) do |t|
t.name = 'EngJourneering'
t.identifier = 'com.yourcompany.EngJourneering'
t.version = '1.0'
t.author = 'Your Company'
t.email = 'feedback @nospam@ yourcompany.com'
t.summary = 'EngJourneering'
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'], 'EngJourneering')
t.flag = '-DDEBUG' if ENV['CONFIG'] == 'Debug'
t.flag = '-O' if ENV['CONFIG'] == 'Release'
end
task :default => [:EngJourneering]