On Sun, Nov 30, 2008 at 7:28 AM, Mark Volkmann <[EMAIL PROTECTED]> wrote: > > If you're going to frequently get the latest from SVN, I suggest using > a script like the following. It assumes you are in a directory that > contains the subdirectories "clojure" and "clojure-contrib" that were > initially created by doing svn checkouts. This is for UNIX, Linux or > Mac. You should be able to write an equivalent Windows script. > > #!/bin/bash > # Gets the latest versions of clojure and clojure-contrib. > cd clojure/trunk > svn update > ant clean jar > cd - > cd clojure-contrib/trunk > svn update > ant clean jar > cd - > > I have this in a file named "getLatest.sh". > Whenever I want the latest I just run "./getLatest.sh".
I have something similar although my script also gets the latest SLIME/SWANK packages as well (since major changes to Clojure frequently require a refresh of those packages too): #!/bin/sh -e if [ "$CLJ_ROOT" == "" ]; then CLJ_ROOT=/Users/bc/lisp/clj fi export CLJ_ROOT cd $CLJ_ROOT rm -dfr clojure rm -dfr clojure-contrib rm -dfr clojure-mode rm -dfr swank-clojure svn co https://clojure.svn.sourceforge.net/svnroot/clojure clojure git clone git://github.com/jochu/clojure-mode.git git clone git://github.com/jochu/swank-clojure.git svn co https://clojure-contrib.svn.sourceforge.net/svnroot/clojure-contrib clojure-contrib cvs -d :pserver:anonymous:[EMAIL PROTECTED]:/project/slime/cvsroot co slime cd clojure/trunk ant cd - cd clojure-contrib/trunk ant -- Bill Clementson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---