Skip to content

Instantly share code, notes, and snippets.

@noonat
Created April 7, 2010 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noonat/359201 to your computer and use it in GitHub Desktop.
Save noonat/359201 to your computer and use it in GitHub Desktop.
Checkout and build Rhino
#!/bin/bash
# I hope I never have to remember how to do this ever again
MOZILLA_CVS=':pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot'
RHINO_PATH='mozilla/js/rhino'
if ! [ -d mozilla ]; then
cvs -d $MOZILLA_CVS co $RHINO_PATH
else
cvs -d $MOZILLA_CVS up
fi
(
(cd $RHINO_PATH && ant clean && ant jar) &&
(cp $RHINO_PATH/build/rhino1_7R3pre/js.jar ./rhino-1.7r3-pre.jar)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment