-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
25 lines (21 loc) · 836 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(:capp_subfolder_issue) do |t|
t.name = 'capp_subfolder_issue'
t.identifier = 'com.yourcompany.capp_subfolder_issue'
t.version = '1.0'
t.author = 'Your Company'
t.email = 'feedback @nospam@ yourcompany.com'
t.summary = 'capp_subfolder_issue'
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'], 'capp_subfolder_issue')
t.flag = '-DDEBUG' if ENV['CONFIG'] == 'Debug'
t.flag = '-O' if ENV['CONFIG'] == 'Release'
end
task :default => [:capp_subfolder_issue]