Mostly todos.
This commit is contained in:
parent
adc106e6c8
commit
72270396a4
4 changed files with 8 additions and 3 deletions
|
@ -85,7 +85,7 @@ advantage of this, you should put it on your <tt>$PATH</tt>.
|
||||||
Place a <tt>project.clj</tt> file in the project root like this:
|
Place a <tt>project.clj</tt> file in the project root like this:
|
||||||
|
|
||||||
(defproject leiningen "0.5.0-SNAPSHOT"
|
(defproject leiningen "0.5.0-SNAPSHOT"
|
||||||
:description "A build tool designed not to set your hair on fire."
|
:description "A build tool designed to not set your hair on fire."
|
||||||
:url "http://github.com/technomancy/leiningen"
|
:url "http://github.com/technomancy/leiningen"
|
||||||
:dependencies [[org.clojure/clojure "1.1.0"]
|
:dependencies [[org.clojure/clojure "1.1.0"]
|
||||||
[org.clojure/clojure-contrib "1.1.0"]
|
[org.clojure/clojure-contrib "1.1.0"]
|
||||||
|
|
2
bin/lein
2
bin/lein
|
@ -38,7 +38,7 @@ LEIN_PLUGINS="$(ls -1 lib/dev/*jar 2> /dev/null | tr \\n \:)"
|
||||||
LEIN_USER_PLUGINS="$(ls -1 $LEIN_HOME/plugins/*jar 2> /dev/null | tr \\n \:)"
|
LEIN_USER_PLUGINS="$(ls -1 $LEIN_HOME/plugins/*jar 2> /dev/null | tr \\n \:)"
|
||||||
CLASSPATH=$LEIN_USER_PLUGINS:$LEIN_PLUGINS:src/:$CLASSPATH
|
CLASSPATH=$LEIN_USER_PLUGINS:$LEIN_PLUGINS:src/:$CLASSPATH
|
||||||
LEIN_JAR="$HOME/.m2/repository/leiningen/leiningen/$LEIN_VERSION/leiningen-$LEIN_VERSION-standalone.jar"
|
LEIN_JAR="$HOME/.m2/repository/leiningen/leiningen/$LEIN_VERSION/leiningen-$LEIN_VERSION-standalone.jar"
|
||||||
CLOJURE_JAR="$HOME/.m2/repository/org/clojure/clojure/1.2.0/clojure-1.2.0.jar"
|
# CLOJURE_JAR="$HOME/.m2/repository/org/clojure/clojure/1.2.0/clojure-1.2.0.jar"
|
||||||
NULL_DEVICE=/dev/null
|
NULL_DEVICE=/dev/null
|
||||||
|
|
||||||
# normalize $0 on certain BSDs
|
# normalize $0 on certain BSDs
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
(defn- unquote-project [args]
|
(defn- unquote-project [args]
|
||||||
(walk (fn [item]
|
(walk (fn [item]
|
||||||
(cond (and (seq? item) (= `unquote (first item))) (second item)
|
(cond (and (seq? item) (= `unquote (first item))) (second item)
|
||||||
;; needed if we want fn literals to be usable by eval-in-project:
|
;; needed if we want fn literals to be usable by eval-in-project
|
||||||
(and (seq? item) (= 'fn (first item))) (list 'quote item)
|
(and (seq? item) (= 'fn (first item))) (list 'quote item)
|
||||||
(symbol? item) (list 'quote item)
|
(symbol? item) (list 'quote item)
|
||||||
:else (unquote-project item)))
|
:else (unquote-project item)))
|
||||||
|
|
5
todo.org
5
todo.org
|
@ -19,10 +19,13 @@ See also http://github.com/technomancy/leiningen/issues
|
||||||
just use Maven's notion of the project's dependencies to construct a
|
just use Maven's notion of the project's dependencies to construct a
|
||||||
classpath that references jars straight from ~/.m2.
|
classpath that references jars straight from ~/.m2.
|
||||||
* For 1.4
|
* For 1.4
|
||||||
|
** TODO merge push task based on clj-ssh
|
||||||
** TODO plugin task for managing/upgrading plugins
|
** TODO plugin task for managing/upgrading plugins
|
||||||
Manually copying jar files into ~/.lein/plugins is pretty
|
Manually copying jar files into ~/.lein/plugins is pretty
|
||||||
lame. Let's get a task to handle this. It could be implemented as a
|
lame. Let's get a task to handle this. It could be implemented as a
|
||||||
plugin at first, maybe.
|
plugin at first, maybe.
|
||||||
|
** TODO integrate plugin task with lein-search
|
||||||
|
Would be better to be able to leave off version numbers
|
||||||
** TODO merge lein-search features?
|
** TODO merge lein-search features?
|
||||||
This plugin is great; we should think about taking it into
|
This plugin is great; we should think about taking it into
|
||||||
Leiningen itself.
|
Leiningen itself.
|
||||||
|
@ -42,6 +45,7 @@ See also http://github.com/technomancy/leiningen/issues
|
||||||
** TODO spin lancet off into its own dependency
|
** TODO spin lancet off into its own dependency
|
||||||
I've never felt comfortable about simply keeping it inline. On the
|
I've never felt comfortable about simply keeping it inline. On the
|
||||||
other hand if we quit using ant then we can skip this.
|
other hand if we quit using ant then we can skip this.
|
||||||
|
Needs to not be in the default package!
|
||||||
** TODO shell wrappers should support multiple versions
|
** TODO shell wrappers should support multiple versions
|
||||||
We could write out a different "foo-$VERSION" shell wrapper for each
|
We could write out a different "foo-$VERSION" shell wrapper for each
|
||||||
version of a project that gets installed and then have the plain
|
version of a project that gets installed and then have the plain
|
||||||
|
@ -49,6 +53,7 @@ See also http://github.com/technomancy/leiningen/issues
|
||||||
just fall back to the latest.
|
just fall back to the latest.
|
||||||
** TODO fail gracefully when run without an Internet connection (Issue #100)
|
** TODO fail gracefully when run without an Internet connection (Issue #100)
|
||||||
** TODO improve test coverage
|
** TODO improve test coverage
|
||||||
|
** TODO expose original cwd as property
|
||||||
** DONE test selectors using metadata; run a subset of tests
|
** DONE test selectors using metadata; run a subset of tests
|
||||||
We could have a :test-selectors key in project.clj that would map
|
We could have a :test-selectors key in project.clj that would map
|
||||||
keywords to predicate functions. Then the test task could take a
|
keywords to predicate functions. Then the test task could take a
|
||||||
|
|
Loading…
Reference in a new issue