Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tlrobinson
committed
Mar 26, 2009
1 parent
bcd28cf
commit ebc2a8a
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require 'rake' | ||
require '../../common' | ||
require 'objective-j' | ||
require 'objective-j/bundletask' | ||
|
||
|
||
$PRODUCT = :ojtest | ||
$BUILD_PATH = File.join($BUILD_DIR, $CONFIGURATION, 'ojtest') | ||
$ENVIRONMENT_BIN_PRODUCT = File.join($ENVIRONMENT_BIN_DIR, 'ojtest') | ||
$ENVIRONMENT_LIB_PRODUCT = File.join($ENVIRONMENT_LIB_DIR, 'ojtest') | ||
|
||
ObjectiveJ::BundleTask.new(:ojtest) do |t| | ||
t.name = 'ojtest' | ||
t.identifier = 'com.280n.ojtest' | ||
t.version = '0.6.5' | ||
t.author = '280 North, Inc.' | ||
t.email = 'feedback @nospam@ 280north.com' | ||
t.summary = 'Run ojunit tests' | ||
t.sources = FileList['*.j'] | ||
t.license = ObjectiveJ::License::LGPL_v2_1 | ||
t.build_path = $BUILD_PATH | ||
t.flag = 'DEBUG' if $CONFIGURATION == 'Debug' | ||
end | ||
|
||
#executable in environment directory | ||
file_d $ENVIRONMENT_BIN_PRODUCT do | ||
make_objj_executable($ENVIRONMENT_BIN_PRODUCT) | ||
end | ||
|
||
file_d $ENVIRONMENT_LIB_PRODUCT => [:ojtest] do | ||
cp_r(File.join($BUILD_PATH, '.'), $ENVIRONMENT_LIB_PRODUCT) | ||
end | ||
|
||
task :build => [:ojtest, $ENVIRONMENT_BIN_PRODUCT, $ENVIRONMENT_LIB_PRODUCT] | ||
|
||
CLOBBER.include($ENVIRONMENT_BIN_PRODUCT, $ENVIRONMENT_LIB_PRODUCT) |
File renamed without changes.