Phil Hagelberg
3c0d8c2b24
Document change task; stop using prime marks in local names.
2014-05-24 16:25:45 -07:00
Phil Hagelberg
fd4c50aa6c
Don't try to read non-forms in sjacket->clj.
2014-05-24 16:18:02 -07:00
Phil Hagelberg
405fa31483
Fix release tests.
2014-05-24 14:31:37 -07:00
Phil Hagelberg
045ba88342
Add special case for "set" arg in change task; fix change tests.
2014-05-24 14:22:33 -07:00
Phil Hagelberg
c83b2facfe
WIP: merge change task and release.
2014-05-24 09:59:29 -07:00
Phil Hagelberg
80d4f130fc
Merge branch 'release'
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-05-24 09:24:24 -07:00
Phil Hagelberg
19e64583b0
Merge remote-tracking branch 'crisptrutski/set-project-version'
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-05-24 09:23:33 -07:00
Chris Truter
055ee45918
Implement more features, simplify interface
...
Too much magic in those helper functions maybe?
2014-05-24 14:51:22 +02:00
Chris Truter
e41a4bc2a0
Add pending test for setting generic (nested) attributes
2014-05-24 14:51:21 +02:00
Chris Truter
947cc00e6c
Attempt to make types transparent across sjacket boundary
...
Not sure how robust this is, but looks like a step towards less annoyance / surprise
2014-05-24 14:51:21 +02:00
Phil Hagelberg
0b9bf383c2
Implement :release-tasks.
2014-05-23 22:27:06 -07:00
Phil Hagelberg
1a02131b1b
Change increment-version to add snapshots where appropriate.
2014-05-23 21:23:08 -07:00
Phil Hagelberg
3f4b2df764
Catch qualifier in version-map->string.
2014-05-23 21:16:34 -07:00
Phil Hagelberg
f503282c5c
Fix assert-uncommitted.
2014-05-23 21:05:07 -07:00
Phil Hagelberg
ec45757459
Automatically load methods for other leiningen.vcs systems.
2014-05-23 20:59:34 -07:00
Phil Hagelberg
47dc18aafa
Add assert-committed method to leiningen.vcs.
2014-05-23 20:59:33 -07:00
Chris Truter
a10fbc569e
Follow separator convention, reorganise, and add some comments
2014-05-24 05:05:23 +02:00
Chris Truter
c071b8bd37
Improve interface for changing project settings
2014-05-24 04:57:26 +02:00
Chris Truter
cca167c19c
Experiment with generic conventions
...
1. Look up functions based on "run-*" pattern
2. Support consistent argument passing scheme
3. Crude bump-version task
4. Some refactoring
Not great at structuring Clojure code, so open to tips to organise
this namespace better!
2014-05-24 04:12:46 +02:00
Chris Truter
fff11d4fcc
Set project version via sjacket
2014-05-24 02:44:09 +02:00
Phil Hagelberg
1651cb067b
Merge pull request #1526 from ardumont/add-toc-to-tutorial
...
Add TOC to the tutorial
2014-05-23 11:16:03 -07:00
Antoine R. Dumont
7b151b262d
Add TOC to the tutorial
2014-05-23 19:25:19 +02:00
Phil Hagelberg
805cb61a55
Merge pull request #1524 from petergarbers/handle-duplicate-keys-in-defproject
...
defproject throws an exception on duplicate keys
2014-05-22 17:25:04 -07:00
Peter Garbers
d214fe99a8
Lists duplicate keys in exception thrown
2014-05-23 00:52:41 +02:00
Peter Garbers
98d113374f
defproject throws an exception on duplicate keys
2014-05-22 02:49:01 +02:00
Wayne
a8a1f5bd99
Clean up semver string parsing.
...
Signed-off-by: Wayne <wayne@puppetlabs.com>
2014-05-19 22:17:49 -07:00
Wayne
7cae821956
Fix up version parsing code.
...
Now with working tests!
Signed-off-by: Wayne <wayne@puppetlabs.com>
2014-05-19 22:17:42 -07:00
Wayne
88aa1ac009
Remove SCM protocol stub.
2014-05-16 13:59:20 -07:00
Wayne
63a90d6dc3
Fix version-map->string and associated test.
...
Adds a member to each testcase vector that represents the original version
string minus the quantifier, or just the original version string itself in the
case of the version string being an invalid maven version.
Signed-off-by: Wayne <wayne@puppetlabs.com>
2014-05-16 13:57:55 -07:00
Wayne
18cae29409
Add test for version-map->string
...
Signed-off-by: Wayne <wayne@puppetlabs.com>
2014-05-16 11:01:08 -07:00
Wayne
680629304e
Remove some unnecessary code.
...
Signed-off-by: Wayne <wayne@puppetlabs.com>
2014-05-16 11:01:08 -07:00
Wayne
d601b6140f
Begin working on leiningen.release.
...
parse-maven-version is a modified copy of the same function found in
relaynetwork/lein-release. Also began working on unit tests.
Signed-off-by: Wayne <wayne@puppetlabs.com>
2014-05-16 11:01:08 -07:00
Phil Hagelberg
051ec98f10
Add vcs task with subtasks.
2014-05-16 10:12:47 -07:00
Alan Malloy
daebdd79d3
Update raw.github.com links
...
Should be raw.githubusercontent.com now.
2014-05-05 13:54:54 -07:00
Phil Hagelberg
4776eeb8e0
Add auto-clean to deploy task. Fixes #1512 .
2014-05-01 15:49:46 -07:00
Jean Niklas L'orange
7cd81ed78c
Update bootstrap instructions, ref #1515 .
2014-04-28 02:49:58 +02:00
Andy Chambers
ef51985d58
Pick up a 'WARNING' that got missed
2014-04-26 18:58:21 -04:00
Andy Chambers
1ffbb408db
Use warn instead of info where applicable
2014-04-26 17:17:56 -04:00
Phil Hagelberg
4db84a0423
Merge pull request #1513 from cmpitg/better-documentation
...
Add structure of the newly created sample template
2014-04-24 13:43:41 -07:00
Phil Hagelberg
23b0804f67
Add ^:replace metadata to :aot [:all] normalization.
2014-04-24 13:30:47 -07:00
Phil Hagelberg
f887bedc15
Check for :aot [:all] in jar task too.
2014-04-24 11:27:10 -07:00
Jean Niklas L'orange
64b142f480
Recommend --
before template args, ref #1511
...
Whenever passing arguments the template used in `lein new`, recommend
people to use `--` to separate their arguments to lein new and the
template itself.
[ci skip]
2014-04-24 20:08:01 +02:00
Phil Hagelberg
927ad0fd8c
Use clojure.main for uberjars that don't declare their own :main.
...
Fixes #1505 .
2014-04-24 09:51:56 -07:00
Phil Hagelberg
785301257c
Clarify that the default template is intended for libraries.
...
Addresses #1505 .
2014-04-24 09:50:38 -07:00
Phil Hagelberg
fd141dfecb
Check user profile's plugin-repositories when looking for templates.
...
Fixes #1510 .
2014-04-24 09:46:11 -07:00
Phil Hagelberg
e88ecd4c92
Merge pull request #1509 from jakubholynet/patch-2
...
PROFILES.md: Tip to use composite profile
2014-04-24 09:24:33 -07:00
Nguyễn Hà Dương
e6abef4b0e
Add structure of the newly created sample template
...
I think it might be better to provide a quick look at the new template structure before going to any detail?
2014-04-24 15:28:16 +07:00
Jakub Holy
0d7932f994
PROFILES.md: Tip to use composite profile
...
Sometimes we need to override *parts* of a prticular profile on a project-specific base. To a novice
lein user, it is likely not clear how to achieve this. This tip points her in the right direction -
using a composite profile with a "personal" part that can be overriden in `profiles.clj` to change
what is in the "common" part of the profile.
2014-04-24 08:27:15 +02:00
Phil Hagelberg
08b0dcb64b
Catch and print query parsing exceptions in search task. Fixes #1507 .
2014-04-23 17:18:49 -07:00
Phil Hagelberg
d0b223ad4e
Catch exceptions updating indices in lein search. Fixes #1508 .
2014-04-23 17:12:32 -07:00