Commit graph

1877 commits

Author SHA1 Message Date
Phil Hagelberg
392845834c Test leiningen-core in CI. 2012-02-19 16:39:14 -08:00
Phil Hagelberg
e7623cfe9a Remove user/settings check in repl task in favour of :user profile. 2012-02-19 16:27:16 -08:00
Phil Hagelberg
77d0abb474 Move special nrepl deps from :default profile to repl task. 2012-02-19 16:26:53 -08:00
Phil Hagelberg
69b03bf327 Fix a few leiningen-core tests. 2012-02-19 15:36:05 -08:00
Colin Jones
1d84877814 Bump reply for more CLJ-855 fun 2012-02-19 09:21:25 -06:00
Phil Hagelberg
7cc7afc61b Clarify mismatch warning when merging profiles. 2012-02-17 14:20:32 -08:00
Phil Hagelberg
ba8904a90d Don't rely on binding of *ns* in project/read. 2012-02-16 20:31:06 -08:00
Phil Hagelberg
4c5c173f1e Fix locking call. 2012-02-16 20:02:36 -08:00
Phil Hagelberg
8425e06ed1 Move :test-path to :default profile and lock inside project/read. 2012-02-16 15:51:05 -08:00
Phil Hagelberg
9a4c5f6a74 Fix hooks example in plugin guide. 2012-02-16 13:37:05 -08:00
Phil Hagelberg
20b6c0415a Bump clucy version to avoid dynamicity warnings. 2012-02-16 13:12:48 -08:00
Tobias Crawley
95aa910052 Bash isn't necessary. 2012-02-16 15:38:19 -05:00
Tobias Crawley
ce65b18049 Allow lein to run when called with no tasks and no .lein-classpath
In that case, $1 isn't set, causing sh to barf on the test.
2012-02-16 15:34:53 -05:00
Colin Jones
e707fd54a9 Bump reply & clojure-complete versions 2012-02-15 18:29:55 -06:00
Colin Jones
cc70b87a4b Hook up to nrepl beta1 2012-02-14 18:31:00 -06:00
Phil Hagelberg
8f8ffe58ef Doco stuff. 2012-02-13 22:40:12 -08:00
Phil Hagelberg
59fe078991 Fix compilation test for numeric eval-in-project return values. 2012-02-13 21:11:11 -08:00
Phil Hagelberg
af2a5ddb53 Allow :aliases in project.clj. 2012-02-13 21:02:52 -08:00
Phil Hagelberg
0234593c4c Call System/setProperty for eval-in-leiningen calls. 2012-02-13 21:02:43 -08:00
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