From 848828222b67f2efda968d24c9139542b3ff8734 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Tue, 3 Nov 2009 01:54:53 -0800 Subject: [PATCH] Updated cappuccino dependency on objective-j. Also removed old install-tools script to remove confusion. Reviewed by me. --- CommonJS/package.json | 2 +- Tools/Install/install-tools | 40 ------------------------------------- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100755 Tools/Install/install-tools diff --git a/CommonJS/package.json b/CommonJS/package.json index a075cc5e9..5f5099b0f 100644 --- a/CommonJS/package.json +++ b/CommonJS/package.json @@ -1,6 +1,6 @@ { "name": "cappuccino", - "dependencies": ["narwhal", "browserjs", "jake"], + "dependencies": ["narwhal", "browserjs", "jake", "objective-j"], "description": "Cappuccino module", "keywords": ["objective-j", "objj", "objective j", "capp", "cappuccino"], "author": "280 North, Inc. (http://280north.com/)", diff --git a/Tools/Install/install-tools b/Tools/Install/install-tools deleted file mode 100755 index 93bf0dec0..000000000 --- a/Tools/Install/install-tools +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -usage() -{ - echo "$0 [--prefix install_directory]" - exit 1 -} - -INSTALL_DIR="/usr/local" - -# Parse parameters -while [ $# -ge 1 ]; do - case $1 in - --prefix) - INSTALL_DIR=$2 - shift - ;; - *) - usage - ;; - esac - shift -done - -//mkdir -p $INSTALL_DIR/bin -//mkdir -p $INSTALL_DIR/share - -//rm -rf $INSTALL_DIR/share/narwhal -cp -fR CommonJS/objective-j $INSTALL_DIR/share/narwhal - -BINS=`ls CommonJS/objective-j/bin` -for BIN in $BINS -do - ln -sf $INSTALL_DIR/share/narwhal/bin/$BIN $INSTALL_DIR/bin/$BIN - chmod +x $INSTALL_DIR/bin/$BIN -done - -chmod +x $INSTALL_DIR/share/narwhal/bin/* - -echo "Cappuccino Tools Installed"