Skip to content

Instantly share code, notes, and snippets.

@jelledelaender
Created April 18, 2009 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jelledelaender/97547 to your computer and use it in GitHub Desktop.
Save jelledelaender/97547 to your computer and use it in GitHub Desktop.
$LOAD_PATH << File.join('~/Dev/Cappuccino/Source/cappuccino', '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, 'Core21')
ObjectiveJ::BundleTask.new(:Core21) do |t|
t.name = 'Core21'
t.identifier = 'be.Online21.Core21'
t.version = '1.0'
t.author = 'Online21'
t.email = 'jelle@online21.be'
t.summary = 'Core21'
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 => [: Core21]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment