Skip to content

Instantly share code, notes, and snippets.

@nickjs
Created April 18, 2009 09:54
Show Gist options
  • Save nickjs/97533 to your computer and use it in GitHub Desktop.
Save nickjs/97533 to your computer and use it in GitHub Desktop.
$LOAD_PATH << File.join('~/Cappuccino/trunk', 'Rake')
require 'objective-j'
require 'objective-j/bundletask'
$BUILD_DIR = "#{ENV['STEAM_BUILD']}"
if (ENV['c'])
$CONFIGURATION = ENV['c']
else
$CONFIGURATION = 'Release'
end
$BUILD_PATH = File.join($BUILD_DIR, $CONFIGURATION, 'SlideKit')
ObjectiveJ::BundleTask.new(:SlideKit) do |t|
t.name = 'SlideKit'
t.identifier = 'com.280n.SlideKit'
t.version = '1.0'
t.author = '280 North, Inc.'
t.email = 'feedback @nospam@ 280north.com'
t.summary = 'SlideKit classes for 280 Slides'
t.sources = FileList['Model.subproj/*.j', 'View.subproj/*.j']
t.resources = FileList['Resources/*']
t.license = ObjectiveJ::License::LGPL_v2_1
t.build_path = $BUILD_PATH
t.flag = 'DEBUG' if $CONFIGURATION == 'Debug'
end
task :default => [:SlideKit]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment