forked from cappuccino/MediaKit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
28 lines (23 loc) · 938 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
26
27
28
#!/usr/bin/env ruby
require 'rake'
require 'objective-j'
require 'objective-j/bundletask'
$BUILD_DIR = "."#ENV['CAPP_BUILD'] || ENV['STEAM_BUILD']
$CONFIGURATION = 'Release'
$BUILD_PATH = File.join($BUILD_DIR, $CONFIGURATION)
ObjectiveJ::BundleTask.new(:MediaKit) do |t|
t.name = 'MediaKit'
t.identifier = 'com.280n.MediaKit'
t.version = '0.1.0'
t.author = '280 North, Inc.'
t.email = 'feedback @nospam@ 280north.com'
t.summary = 'Media framework for Cappuccino'
t.sources = FileList['*.j']
t.resources = FileList['Resources/*']
t.license = ObjectiveJ::License::LGPL_v2_1
t.build_path = File.join($BUILD_PATH, 'MediaKit')
t.flag = '-DDEBUG -g' if $CONFIGURATION == 'Debug'
t.flag = '-O' if $CONFIGURATION == 'Release'
t.type = ObjectiveJ::Bundle::Type::Framework
end
task :default => [:MediaKit]