forked from cappuccino/cappuccino
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed some build bugs and moved capp to new build system.
Reviewed by me.
- Loading branch information
Francisco Tolmasky
committed
Mar 18, 2009
1 parent
1dcc6db
commit ad93ad5
Showing
32 changed files
with
201 additions
and
1,033 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 |
---|---|---|
|
@@ -294,5 +294,3 @@ function exec(/*Array*/ command, /*Boolean*/ showOutput) | |
} | ||
|
||
@end | ||
|
||
main.apply(main, args); |
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
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
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,15 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require 'rake' | ||
require '../common' | ||
|
||
|
||
subprojects = %w{capp nib2cib} | ||
|
||
%w(build clean).each do |task_name| | ||
task task_name do | ||
subrake(subprojects) | ||
end | ||
end | ||
|
||
#task :deploy => [:build] |
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
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 = :capp | ||
$BUILD_PATH = File.join($BUILD_DIR, $CONFIGURATION, 'capp') | ||
$ENVIRONMENT_BIN_PRODUCT = File.join($ENVIRONMENT_BIN_DIR, 'capp') | ||
$ENVIRONMENT_LIB_PRODUCT = File.join($ENVIRONMENT_LIB_DIR, 'capp') | ||
|
||
task :build => [:capp, $ENVIRONMENT_BIN_PRODUCT, $ENVIRONMENT_LIB_PRODUCT] | ||
|
||
# Debug Framework | ||
ObjectiveJ::BundleTask.new(:capp) do |t| | ||
t.name = 'capp' | ||
t.identifier = 'com.280n.capp' | ||
t.version = '0.6.5' | ||
t.author = '280 North, Inc.' | ||
t.email = 'feedback @nospam@ 280north.com' | ||
t.summary = 'Setup up Cappuccino projects' | ||
t.sources = FileList['*.j'] | ||
t.resources = FileList['Resources/*'] | ||
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 => [:capp] do | ||
cp_r(File.join($BUILD_PATH, '.'), $ENVIRONMENT_LIB_PRODUCT) | ||
end |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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 |
---|---|---|
|
@@ -248,5 +248,3 @@ function main() | |
else | ||
convert(inputFileName, outputFileName, resourcesPath); | ||
} | ||
|
||
main.apply(main, args); |
Oops, something went wrong.