-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split up objective-j and cappuccino CommonJS packages, and added abil…
…ity to include Objective-J frameworks in CommonJS packages. Reviewed by me.
- Loading branch information
Francisco Ryan Tolmasky I
committed
Nov 2, 2009
1 parent
fddf3d7
commit 0c13138
Showing
34 changed files
with
328 additions
and
171 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
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 |
---|---|---|
@@ -1,18 +1,17 @@ | ||
#!/usr/bin/env narwhal | ||
|
||
require("../../../common.jake"); | ||
|
||
var FILE = require("file"); | ||
|
||
print("???"); | ||
$BLENDTASK = "blendtask.j"; | ||
$COMMONJS_BLENDTASK_PRODUCT = FILE.join($COMMONJS_PRODUCT, "lib-js", "objective-j", "jake", "blendtask.j"); | ||
|
||
filedir($COMMONJS_BLENDTASK_PRODUCT, [$BLENDTASK], function() | ||
$BLENDTASK = "blendtask.j"; | ||
$BUILD_CJS_BLENDTASK = FILE.join($BUILD_CJS_CAPPUCCINO, "lib", "cappuccino", "jake", "blendtask.j"); | ||
|
||
filedir($BUILD_CJS_BLENDTASK, [$BLENDTASK], function() | ||
{ | ||
cp_r($BLENDTASK, $COMMONJS_BLENDTASK_PRODUCT); | ||
cp_r($BLENDTASK, $BUILD_CJS_BLENDTASK); | ||
}); | ||
|
||
task("build", [$COMMONJS_BLENDTASK_PRODUCT]); | ||
task("build", [$BUILD_CJS_BLENDTASK]); | ||
|
||
CLOBBER.include($COMMONJS_BLENDTASK_PRODUCT); | ||
CLOBBER.include($BUILD_CJS_BLENDTASK); |
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,21 @@ | ||
|
||
require("../common.jake"); | ||
|
||
|
||
var FILE = require("file"); | ||
|
||
new FileList("**/*").exclude("Jakefile").forEach(function(aFilename) | ||
{ | ||
if (!FILE.isFile(aFilename)) | ||
return; | ||
|
||
var buildFilename = FILE.join($BUILD_CONFIGURATION_DIR, "CommonJS", "cappuccino", aFilename); | ||
|
||
filedir (buildFilename, [aFilename], function () | ||
{ | ||
cp(aFilename, buildFilename); | ||
}); | ||
|
||
task ("build", buildFilename); | ||
CLOBBER.include(buildFilename); | ||
}); |
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,8 @@ | ||
// This check is only necessary because during the build process blendtask gets created much later. | ||
if (FILE.exists(FILE.join(FILE.dirname(module.path), "jake", "blendtask.j"))) | ||
{ | ||
var BLEND_TASK = require("cappuccino/jake/blendtask"); | ||
|
||
exports.BlendTask = BLEND_TASK.BlendTask; | ||
exports.blend = BLEND_TASK.blend; | ||
} |
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,16 @@ | ||
{ | ||
"name": "cappuccino", | ||
"dependencies": ["narwhal", "jack", "browserjs"], | ||
"description": "Cappuccino module", | ||
"keywords": ["objective-j", "objj", "objective j", "capp", "cappuccino"], | ||
"author": "280 North, Inc. (http://280north.com/)", | ||
"version": "0.7.9", | ||
"objj-frameworks": ["Frameworks"], | ||
"objj-debug-frameworks": ["Frameworks/Debug"], | ||
"contributors": [ | ||
"Francisco Tolmasky (http://tolmasky.com/)", | ||
"Ross Boucher (http://rossboucher.com/)", | ||
"Tom Robinson (http://tlrobinson.net/)", | ||
"Numerous others (http://contributors.cappuccino.org/)" | ||
] | ||
} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.