Add sudo to jake install. Add narwhal.local.conf. Remove tusk engine.

This commit is contained in:
tlrobinson committed 2009-11-13 13:58:23 -08:00
1 parent 13c5736a0f
commit f4b37fbf3b
3 files changed
+13 -8

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ task ("install", ["CommonJS"], function()
{
// FIXME: require("narwhal/tusk/install").install({}, $COMMONJS);
// Doesn't work due to some weird this.print business.
OS.system("tusk install --force " + $BUILD_CJS_OBJECTIVE_J + " " + $BUILD_CJS_CAPPUCCINO);
OS.system("sudo tusk install --force " + $BUILD_CJS_OBJECTIVE_J + " " + $BUILD_CJS_CAPPUCCINO);
});
// Documentation
+9 -7
View File
@@ -66,13 +66,13 @@ if [ `uname` = "Darwin" ]; then
make webkit
popd
echo "================================================================================"
echo "Rhino is the default Narwhal engine, should we change the default to JavaScriptCore for you?"
echo "This can by overridden by setting the NARWHAL_ENGINE environment variable to \"jsc\" or \"rhino\"."
echo "(Note: you must use Rhino for certain tools such as \"tusk\")"
if prompt; then
tusk engine jsc
fi
# echo "================================================================================"
# echo "Rhino is the default Narwhal engine, should we change the default to JavaScriptCore for you?"
# echo "This can by overridden by setting the NARWHAL_ENGINE environment variable to \"jsc\" or \"rhino\"."
# echo "(Note: you must use Rhino for certain tools such as \"tusk\")"
# if prompt; then
# tusk engine jsc
# fi
fi
fi
@@ -108,3 +108,5 @@ if ! which -s "narwhal"; then
path_instructions
fi
fi
echo "Bootstrapping of Narwhal and other required tools is complete. You can now build Cappuccino."
+3
View File
@@ -0,0 +1,3 @@
if [ -z "$NARWHAL_ENGINE" ] && [ -d "$NARWHAL_HOME/packages/narwhal-jsc" ]; then
export NARWHAL_ENGINE=jsc
fi