Commit graph

1431 commits

Author SHA1 Message Date
Lee Hinman
1614199078 Docstrings should make grammatical sense.
(ugh at myself)

[ci skip]
2012-02-09 15:37:52 -07:00
Lee Hinman
24c48b4257 Correct spelling for docstring
[ci skip]
2012-02-09 15:33:08 -07:00
Lee Hinman
81e405755f Allow colon-separated profiles to sequential task application
Allows something like this:

% lein2 with-profile dev,1.2:1.4,user test
Performing task 'test' with profile(s): 'dev,1.2'

Testing clj-http.test.client

Testing clj-http.test.cookies

Testing clj-http.test.core

Ran 47 tests containing 174 assertions.
0 failures, 0 errors.
Performing task 'test' with profile(s): '1.4,user'

Testing clj-http.test.client

Testing clj-http.test.cookies

Testing clj-http.test.core

Ran 47 tests containing 174 assertions.
0 failures, 0 errors.

Also adds the println for performing tasks with 'with-profile', not
sure if this should stay or not.
2012-02-09 15:27:17 -07:00
Phil Hagelberg
295b1e0cf7 Mention running outside the context of projects in plugin guide.
[ci skip]
2012-02-09 08:54:46 -08:00
Phil Hagelberg
f08c484a8c Fix compile tests. 2012-02-08 23:38:35 -08:00
Phil Hagelberg
85f0d80fe6 Add "Upgrading Existing Plugins" section to plugin guide. 2012-02-08 23:32:09 -08:00
Phil Hagelberg
29a01d3aab Couple more todos. 2012-02-08 22:57:27 -08:00
Phil Hagelberg
d755872e3d Include temporary leiningen.compile/eval-in-project placeholder.
Ease the transition a bit.
2012-02-08 22:57:10 -08:00
Phil Hagelberg
432c4eae41 Link to the EPL in project.clj. 2012-02-08 22:55:48 -08:00
Phil Hagelberg
61522df1af Be more forgiving of sparse project maps in eval-in-project. 2012-02-08 22:55:19 -08:00
Phil Hagelberg
d6dc5278c8 Tweak todo.
[ci skip]
2012-02-08 15:28:31 -08:00
Phil Hagelberg
c75ba9ec00 Allow profiles arg to pprint a given profile. 2012-02-08 14:45:38 -08:00
Anthony Grimes
ebd77052f9 Document things better. 2012-02-08 16:06:37 -06:00
Lee Hinman
c49a427640 Add the lein profiles command to list available profiles 2012-02-08 11:32:18 -07:00
Lee
c7ac23657a Merge pull request #396 from michaelklishin/patch-1
Override install instead of adding before_script
2012-02-08 08:32:57 -08:00
Michael Klishin
116a791344 Override install instead of adding before_script
We don't want default Clojure builder's `install` command to be executed
2012-02-08 20:31:51 +04:00
Lee Hinman
a073daf6f7 Merge remote-tracking branch 'michaelklishin/patch-1' 2012-02-08 09:25:52 -07:00
Michael Klishin
8243332093 Make sure .travis.yml includes language: clojure
There are two reasons for this:

 * We will soon roll out first-class support for other JVM languages and Clojure will be hosted on a different machine. Without this language: line Leiningen will still land on Ruby workers.

 * :language key will at some point in the future be mandatory.

Finally, you still can override `install:`, `script:` or anything else, so there is no reason to not have `language:` in your .travis.yml.
2012-02-08 20:22:41 +04:00
Lee Hinman
bce96f673c Fix missing quote in readme 2012-02-08 08:40:07 -07:00
Lee Hinman
a7b9114df6 Fix markdown typo in README.md 2012-02-08 08:34:39 -07:00
Phil Hagelberg
3b52db5df8 Merge remote branch 'davidsantiago/master' 2012-02-08 00:20:34 -08:00
Phil Hagelberg
c11a3a83c0 Absolutize paths in :without-profiles project map as well. 2012-02-08 00:18:31 -08:00
Phil Hagelberg
bc22a95f66 Implement a few partially-applied help aliases. 2012-02-07 23:26:47 -08:00
Phil Hagelberg
dc1fa56950 Allow aliases to specify partially-applied tasks.
Love it... except for the bits dealing with varargs; yuck!
2012-02-07 23:26:47 -08:00
Anthony Grimes
6c6cca2d3c Don't do anything if there aren't any java sources. 2012-02-08 01:19:26 -06:00
Anthony Grimes
2b735769f3 Check 'javac'. 2012-02-08 01:09:57 -06:00
Anthony Grimes
fd540497e9 Handle task options and print a compiling message. 2012-02-08 01:06:09 -06:00
Anthony Grimes
f6c7174242 Rewrote the javac task using built in Java compiler stuff. 2012-02-08 01:06:09 -06:00
Phil Hagelberg
f3ebb953c3 Rewrite explanation of profiles in readme. 2012-02-07 21:00:02 -08:00
Phil Hagelberg
98ad4f9897 Profiles mean :jvm-opts in user/settings isn't necessary. 2012-02-07 20:58:48 -08:00
Phil Hagelberg
78560e8d4a Use :without-profiles version of project map in jar task. 2012-02-07 20:40:36 -08:00
Phil Hagelberg
07c699cb6f Warn when profile is specified that doesn't exist. 2012-02-07 20:32:04 -08:00
Phil Hagelberg
80e2b20378 Use absolute paths when checksumming lein's own project.cljs. 2012-02-07 20:26:23 -08:00
Phil Hagelberg
dad9b14cd4 Drop JLine/rlwrap since we have reply. Allow any task to trampoline. 2012-02-07 20:10:51 -08:00
David Santiago
dfc380c873 Add support for a 'check' task, which checks syntax and reports reflection warnings. 2012-02-07 17:36:47 -10:00
Phil Hagelberg
61f91add22 Fix lein-classpath calculation; the shell hates me for some reason? 2012-02-07 19:00:30 -08:00
Phil Hagelberg
52a51c3570 Recalculate .lein-classpath when project.clj changes. 2012-02-07 18:25:07 -08:00
Phil Hagelberg
e305fb1dea Remove spurious leiningen.core reference. 2012-02-07 18:19:43 -08:00
Phil Hagelberg
a3031fb9de Mention symlink for bin/lein in "Building" section of readme. 2012-02-07 18:15:24 -08:00
Phil Hagelberg
e07a6fe108 Remove dummy leiningen.core namespace. 2012-02-07 18:15:12 -08:00
Phil Hagelberg
c48f6ee9df Move absolutize-path call into merge-profiles.
Otherwise merge-profiles isn't any good for keys that involve paths
outside leiningen.core.project/read.
2012-02-07 18:15:03 -08:00
Phil Hagelberg
1c0f2099f9 Move :dev profile to :default in default-profiles.
Otherwise project-level :dev profiles will stomp on the inclusion of
nrepl and friends.

Conflicts:

	bin/lein
2012-02-07 17:09:34 -08:00
Phil Hagelberg
032a023eb5 Fix trampoline task. 2012-02-07 17:09:09 -08:00
Phil Hagelberg
30bdafc9d6 Promote leiningen-core/src in classpath when working in checkout. 2012-02-07 17:09:08 -08:00
Phil Hagelberg
ca16eceabb Fix bootstrapping instructions. 2012-02-07 15:26:38 -08:00
Anthony Grimes
7a7945880f Move reply and lein-newnew to lein's own project.clj.
The only reason this wasn't possible before was because the classpath
was being cached in .lein-classpath, giving the appearance of those
dependencies not being seen.
2012-02-07 16:12:14 -06:00
Anthony Grimes
385867d8f2 Add Clojure exclusions across the board.
This should fix travis failures.
2012-02-07 16:01:26 -06:00
Colin Jones
6042a92e5c Enable completion for non-leiningen projects 2012-02-07 07:45:55 -06:00
Anthony Grimes
d4977a6bba Add a docstring to the repl task. 2012-02-07 03:06:48 -06:00
Anthony Grimes
31217cfdb2 Hardcore merging action. 2012-02-07 02:59:48 -06:00