Commit graph

1658 commits

Author SHA1 Message Date
Phil Hagelberg
4cce496b36 Lock to data.xml timestamped snapshot, update todos. 2012-02-13 21:02:18 -08:00
Phil Hagelberg
c0f36a6abd Clarify backwards-compatibility eval-in-project shim. 2012-02-13 21:01:52 -08:00
Phil Hagelberg
32b2379c4e Make with-profile start from the base project. 2012-02-13 21:01:30 -08:00
Colin Jones
1e36ce58c2 Revert "Revert "Upgrade to the latest nrepl""
This reverts commit b757cb0cd3.
2012-02-11 18:27:48 -06:00
Colin Jones
6ac9ba9832 Lock to non-snapshot reply 2012-02-11 18:23:42 -06:00
Colin Jones
b757cb0cd3 Revert "Upgrade to the latest nrepl"
This reverts commit 01084cdb6a.
2012-02-11 18:05:25 -06:00
Colin Jones
d8be20b2ec Revert "Add sonatype snapshots for the time being"
This reverts commit 6a145804f7.
2012-02-11 18:05:12 -06:00
Colin Jones
6a145804f7 Add sonatype snapshots for the time being
This is only for nrepl 0.2.0-SNAPSHOT - we can get rid of it
as soon as there's a non-snapshot release.
2012-02-11 17:57:12 -06:00
Colin Jones
389a0edf1a Fix docstring typo 2012-02-11 17:00:26 -06:00
Colin Jones
01084cdb6a Upgrade to the latest nrepl 2012-02-11 16:50:46 -06:00
Anthony Grimes
143004d249 Merge pull request #398 from misfo/patch-1
Documentation typo fixes
2012-02-10 21:48:38 -08:00
Trent Ogren
3cf4423598 Documentation typo fixes 2012-02-10 23:43:33 -06:00
Phil Hagelberg
d645175454 Merge pull request #397 from guns/whoami-id-u
Replace `whoami` with `id -u` test
2012-02-09 18:12:58 -08:00
guns
449c78f490 Replace whoami with id -u test
`id -u` is in the POSIX and LSB specs [1], while `whoami` is not.
Furthermore, the username of UID 0 can be changed (and is sometimes
recommended in a misguided attempt to increase security).

FreeBSD users logged in as `toor` would also slip through the cracks.

[1]: http://pubs.opengroup.org/onlinepubs/009695399/utilities/id.html
     http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/command.html
2012-02-09 18:58:11 -06:00
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