mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-01 22:56:17 +00:00
Move OJTest install to after the tusk install of other packages.
Tusk seems to need OJTest to be alone in order to calculate and/or download dependencies (which are the Objective-J and Cappuccino pre-built packages).
This commit is contained in:
+6
-5
@@ -288,7 +288,7 @@ fi
|
||||
|
||||
if [ ! "$install_test" ]; then
|
||||
echo "================================================================================"
|
||||
echo "Would you like to install test OJTest package?"
|
||||
echo "Would you like to install test OJTest package (this will also install the pre-build packages)?"
|
||||
if prompt; then
|
||||
install_test="yes"
|
||||
fi
|
||||
@@ -309,10 +309,6 @@ if [ "$install_capp" ]; then
|
||||
extra_packages="objective-j cappuccino"
|
||||
fi
|
||||
|
||||
if [ "$install_test" ]; then
|
||||
extra_packages="${extra_packages} https://github.com/280north/ojtest/zipball/latest"
|
||||
fi
|
||||
|
||||
echo "Installing necessary packages..."
|
||||
|
||||
if ! tusk update; then
|
||||
@@ -322,6 +318,11 @@ fi
|
||||
|
||||
tusk $tusk_install_command browserjs jake shrinksafe $extra_packages
|
||||
|
||||
if [ "$install_test" ]; then
|
||||
echo "Installing OJTest from GitHub"
|
||||
NARWHAL_ENGINE=rhino tusk install https://www.github.com/cappuccino/OJTest/zipball/latest
|
||||
fi
|
||||
|
||||
if [ `uname` = "Darwin" ]; then
|
||||
echo "================================================================================"
|
||||
echo "Would you like to install the JavaScriptCore engine for Narwhal?"
|
||||
|
||||
Reference in New Issue
Block a user