mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-30 20:07:36 +00:00
Update objj and browserjs package.json, add Rake task for narwhal modules
This commit is contained in:
1 parent
58ac49e0b0
commit
f360ab9475
3 files changed
+21
-6
No files matched your search
Vendored
+1
-1
Submodule External/browserjs updated: 87a9b481d1...b01b92b128.
@@ -1,7 +1,15 @@
|
||||
{
|
||||
"author": "Tom Robinson",
|
||||
"dependencies": [],
|
||||
"name": "objj",
|
||||
"dependencies": ["narwhal", "jack", "browserjs"],
|
||||
"lib": "lib-js",
|
||||
"jars": "jars/",
|
||||
"plugins": ["objj/loader"]
|
||||
"preload": ["objj/loader"],
|
||||
"description": "Objective-J and Cappuccino tools",
|
||||
"keywords": ["Objective-J", "Cappuccino"],
|
||||
"author": "280 North (http://280north.com/)",
|
||||
"contributors": [
|
||||
"Francisco Tolmasky (http://tolmasky.com/)",
|
||||
"Ross Boucher (http://rossboucher.com/)",
|
||||
"Tom Robinson (http://tlrobinson.net/)",
|
||||
"Numerous others (http://contributors.cappuccino.org/)"
|
||||
]
|
||||
}
|
||||
@@ -33,7 +33,9 @@ $STARTER_DOWNLOAD = File.join($BUILD_DIR, 'Cappuccino', 'Start
|
||||
$STARTER_DOWNLOAD_APPLICATION = File.join($STARTER_DOWNLOAD, 'NewApplication')
|
||||
$STARTER_DOWNLOAD_README = File.join($STARTER_DOWNLOAD, 'README')
|
||||
|
||||
task :downloads => [:starter_download, :tools_download]
|
||||
$NARWHAL_PACKAGE = File.join($BUILD_DIR, 'Cappuccino', 'objj')
|
||||
|
||||
task :downloads => [:starter_download, :tools_download, :narwhal_package]
|
||||
|
||||
file_d $TOOLS_DOWNLOAD_ENV => [:debug, :release] do
|
||||
rm_rf($TOOLS_DOWNLOAD_ENV)
|
||||
@@ -61,6 +63,11 @@ task :tools_download => [$TOOLS_DOWNLOAD_ENV, $TOOLS_DOWNLOAD_EDITORS, $TOOLS_DO
|
||||
|
||||
task :starter_download => [$STARTER_DOWNLOAD_APPLICATION, $STARTER_DOWNLOAD_README]
|
||||
|
||||
task :narwhal_package => [$TOOLS_DOWNLOAD_ENV] do
|
||||
rm_rf($NARWHAL_PACKAGE)
|
||||
cp_r(File.join($TOOLS_DOWNLOAD_ENV, 'packages', 'objj'), $NARWHAL_PACKAGE)
|
||||
end
|
||||
|
||||
task :deploy => [:downloads, :docs] do
|
||||
#copy the docs into the starter pack
|
||||
cp_r(File.join($DOCUMENTATION_BUILD, 'html', '.'), File.join($STARTER_DOWNLOAD, 'Documentation'))
|
||||
|
||||
Reference in new issue
Block a user