Updated cappuccino dependency on objective-j. Also removed old install-tools script to remove confusion.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-11-03 01:54:53 -08:00
1 parent d3e6819fd7
commit 848828222b
2 files changed
+1 -41

No files matched your search

+1 -1
View File
@@ -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/)",
-40
View File
@@ -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"