Commit graph

35 commits

Author SHA1 Message Date
Matt Blair
0607f10884 Clojure 1.5.0-RC1
Yep.

Closes Homebrew/homebrew#16795.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-29 21:42:12 -08:00
Adam Vandenberg
72c1ea1a04 clojure: fix audit 2012-12-14 10:25:23 -08:00
Matt Blair
00c4a8b917 Clojure devel 1.5.0-beta2
Closes Homebrew/homebrew#16543.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-12 23:43:16 -06:00
Adam Vandenberg
7b00db5132 clojure: use new dsl 2012-08-26 22:15:40 -07:00
Shawn Morel
067c5e3296 clojure: Add --devel build
Closes Homebrew/homebrew#14294.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-08-19 16:15:11 -07:00
Adam Vandenberg
2719f8283a clojure: use sha1 2012-06-12 20:45:23 -07:00
Jack Nagel
63cde03be4 Fix more quoting issues
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 17:08:57 -05:00
Julien Blanchard
5d94cf0534 Clojure 1.4.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-16 19:06:02 -07:00
Magnus Holm
f1180478f7 Clojure: fix clj wrapper
bin/clj: Quote $CLOJURE so it works when $PWD includes a space

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-27 19:11:22 -08:00
Peter Schuller
17ad311125 chmod clojure's .jar to 644 so non-owners can read it.
Else other users than installer cannot run 'clj'.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-10-22 14:35:57 -07:00
Michael Dippery
44bd9a3ef6 clojure: Update to v1.3.0
Closes Homebrew/homebrew#7893.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-10-05 14:41:43 -07:00
Adam Vandenberg
742fe1bde1 Be more explicit about paths in test methods 2011-09-01 13:00:28 -07:00
Adam Vandenberg
d84b1e9eb2 Clojure: update CLASSPATH in the wrapper
Also add a test:
  brew test -v clojure
2011-06-19 12:17:49 -07:00
Michael S. Klishin
d2a189460e Clojure 1.2.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-12 16:14:10 -07:00
Adam Vandenberg
243bc743ea Use https for github repos. 2011-05-26 22:02:55 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Tianyi Cui
8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Paul Ingles
9d3a64cab4 Use new clojure git repo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-24 09:04:33 -07:00
Adam Vandenberg
e80e811bb1 Revert "Simplify clj script and fix some quoting."
This reverts commit fc6f2c88fd080025f128f300c98ce4a66ed3365b.
2010-10-03 21:17:23 -07:00
Martin Kühl
fcecae9327 Simplify clj script and fix some quoting.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-03 20:20:31 -07:00
Adam Vandenberg
40147a7517 clojure - link to repl wrapper script 2010-10-01 22:22:01 -07:00
Martin Kühl
3cba937679 Update clojure and clojure-contrib to version 1.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-19 09:30:01 -07:00
Adam Vandenberg
8c56f544b7 Add ARGV.build_head? and use it.
This allows both "--HEAD" and "-H" to be used consistently, which was the
intention in the first place.
2010-07-16 09:09:39 -07:00
Drew Hess
8df99bf4cb Many fixes for clojure and clojure-contrib formulae.
- clojure formula now works with HEAD installs.

- Use /bin/sh rather than /bin/bash in the clj script.

- Fix argument-passing in the clj script. (Fixes Homebrew/homebrew#867)

- Remove the Java -server flag in the clj script. This is the default
  option on 64-bit Macs running 10.5 and 10.6 anyway, unless the user
  has used Java Preferences to make the 32-bit VM the preferred VM, in
  which case the default is -client. Choosing the 32-bit VM happens to
  be the only way to use the client HotSpot VM, as the client VM is
  not currently supported on 64-bit architectures. Presumably, if the
  user prefers the 32-bit client VM, he has his reasons, and the clj
  script should respect them. (The client VM has a faster start-up
  time, for example, which may benefit command-line scripts written
  in Clojure and invoked using clj.)

  It would be nice to allow the user to be explicit about which VM to
  use when invoking the clj script, but this would almost certainly
  not be portable to other systems' implementations of the 'clj'
  script, and would be difficult to document due to the fact that
  clojure.main outputs its own usage message when supplied with a
  --help/-h/-? argument. Anyone with special needs can simply write
  his own wrapper script.

  In any case, users of 64-bit Macs who haven't explicitly chosen the
  32-bit Java VM in Java Preferences (i.e., probably most Homebrew
  users) are unaffected by this change.

- clojure-contrib formula now installs the latest stable release
  (1.1.0) by default (it used to install HEAD always). HEAD installs
  are still supported via the --HEAD flag but require the HEAD version
  of clojure; the build will break if the HEAD version of clojure is
  not installed.

- clojure-contrib installs the pre-packaged JAR file, supplied in the
  release ZIP file, if installing the release version.

- clojure-contrib only conditionally depends on maven, if installing
  HEAD.

- clojure-contrib HEAD builds explicitly use the installed clojure HEAD
  JAR file, per the clojure-contrib documentation. (HEAD builds prior
  to this change would often mysteriously create a nearly-empty
  clojure-contrib JAR file.)

- clojure-contrib always installs the JAR file as clojure-contrib.jar,
  rather than adding a version suffix. The Cellar path is sufficient to
  discriminate versions, and this way the JAR file name is consistent.

- Change the clojure-contrib homepage to point to the clojure-contrib
  documentation, rather than the project's GitHub homepage.

- Clojure does not find the clojure-contrib JAR file unless the
  CLASSPATH includes the JAR file name. Fix the clojure-contrib
  caveat to reflect this behavior.

- Fix "already initialized constant JAR" warnings in both formulae.

Signed-off-by: David Höppner <0xffea@gmail.com>
2010-03-21 17:48:20 +01:00
Adam Vandenberg
3014eebc5f Clojure - use inline startup script instead of DATA and gsub. 2010-02-18 13:34:58 -08:00
Max Howell
0da4a32a8b clj invocation doesn't like -i
See Issue Homebrew/homebrew#575
2010-02-13 13:09:31 +00:00
Max Howell
31c8af513e Closes Homebrew/homebrew#579
Don't hardcode Homebrew prefix when possible.

A general solution for this would be nice as we do it all over the place.
2010-02-13 13:03:39 +00:00
Adam Vandenberg
71e41adcd7 Fix Homebrew/homebrew#575 - use updated method for invoking clojure. 2010-01-31 11:43:31 -08:00
Jason Baker
0d708f417d Updating clojure formula to work against version 1.1.0 2010-01-16 19:13:46 +00:00
Max Howell
91c45fd9ac Simplified Clojure formula
Just felt like it guv'n'r.
2009-12-31 03:13:27 +00:00
dbr
c0dc827114 Don't ignore CLASSPATH in clj command
$CLOJURE was passed to java -classpath, which
caused the $CLASSPATH ENV var to be ingored.

This is needed for the clojure-contrib formula,
and for using third-party classes, which is kind
of useful..
2009-10-19 04:02:48 +01:00
dbr
7af6d599c4 Add --head repo for clojure formula 2009-10-19 04:02:48 +01:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
dbr
9b5e711fd9 Improved clojure formula.
Merged the clj_repl and clj commands into one clj command, which either
invokes the REPL, or runs a script (similar to how the python command works).
Moved the script to DATA, instead of inline
2009-10-12 17:26:28 +01:00
Luke Amdor
d1fabf2f51 Added formula for clojure-1.0.0 2009-09-28 00:20:50 +01:00