Mark Harrah
5b20d330c5
handle CONT signal to reset JLine after resuming from stop. fixes #394
2012-03-09 07:08:38 -05:00
Mark Harrah
3587777638
move error processing to complete/
2012-03-09 07:08:38 -05:00
Eugene Vigdorchik
40d35a5ced
Change according to review and add a missing recursive dependency check.
2012-03-08 20:20:17 +04:00
Eugene Vigdorchik
d5bf8cf6d6
Transitive compilation dependency tracking.
2012-03-08 18:58:44 +04:00
Eugene Vigdorchik
efb9cde9f3
Add test file itself to the set to track compilation time.
2012-03-07 13:13:56 +04:00
Eugene Vigdorchik
e92ba43b3f
Add API dependency tracking to testQuickFilter.
2012-03-07 12:28:40 +04:00
Indrajit Raychaudhuri
57ec3bf37e
rename `docSetting` to more consistent `docTaskSettings`
2012-03-06 23:36:02 +05:30
Indrajit Raychaudhuri
2e554c10ba
Add support for compile task specific settings on `compile` task axis
...
So far we had ability to configure compile task specific settings on
`Compile` Configuration scope only. We can now add `compile` task scope
as well.
Usecase: one can now specify:
```
// applies for all tasks on Compile axis
scalacOptions in Compile += "-deprecation"
// applies for compile tasks on Compile axis
scalacOptions in (Compile, compile) += "-Xcheckinit" // effectively, "-deprecation -Xcheckinit"
```
2012-03-06 11:20:11 +05:30
Indrajit Raychaudhuri
14f6d7fd87
rename `packageTasks` to more consistent `packageTaskSettings`
2012-03-06 11:20:11 +05:30
Indrajit Raychaudhuri
b64e9fb482
Use regular scala helper `Pair.apply` instead of `PairID`
2012-03-06 11:20:11 +05:30
Mark Harrah
6746557d05
addCommandAlias method for defining command aliases in build definitions. fixes #388
2012-03-05 13:40:17 -05:00
Mark Harrah
868196e652
delete empty parent directories of deleted class files. fixes #387
2012-03-05 13:40:17 -05:00
Eugene Vigdorchik
cef766046d
Add forgotten test listener.
2012-03-05 18:37:46 +04:00
Eugene Vigdorchik
6e0ad08ad3
testQuick: track previous test status.
2012-03-05 17:17:55 +04:00
Mark Harrah
b865d88060
Merge pull request #386 from retronym/topic/macro-def
...
Topic/macro def
2012-03-04 15:46:56 -08:00
Jason Zaugg
d422b5cb8f
Scripted test for a macro def in a source file.
...
Needed to increase MaxPermSize, otherwise I was unable to run this test on Java 1.6.0_29 64bit Server on Mac OS.
2012-03-04 22:51:57 +01:00
Jason Zaugg
17eeec6876
Move condition out of SameAPI.
...
It was tenuously relying on the caller short-circuiting with `shortcutSameSource`.
2012-03-04 21:28:01 +01:00
Jason Zaugg
a1cc62a598
Avoid copy-paste of Flags.MACRO with source-compatibility trickery.
2012-03-04 19:07:33 +01:00
Jason Zaugg
72e41c3329
whitespace
2012-03-04 17:41:39 +01:00
Jason Zaugg
067917a0fb
Macro def aware recompilation.
...
- Read macro modifier from method definition.
- Always recompile downstream files after a file containing macro defs is recompiled.
- Source is extended with a hasMacro attribute. Mark suggests that this might be better
tracked in Relations, but I'm not sure how to make that change.
2012-03-04 17:35:51 +01:00
Eugene Vigdorchik
fe753768d9
Extract testFilter task to substitute in case of test-quick.
2012-03-04 11:09:42 +04:00
Indrajit Raychaudhuri
69d45b7f5f
Use `provider.id.name` instead of hard-coded 'sbt' in `aboutString`
...
Also rearrange and reformat a bit
2012-03-02 06:05:14 +05:30
Indrajit Raychaudhuri
f51aad4b5b
Add fancier `shellPrompt` by default, also better arg names
2012-03-02 00:59:06 +05:30
Indrajit Raychaudhuri
9ca86725b5
Rather use `globalSettingsDirectory` instead of `globalBaseDirectory`
2012-03-01 17:23:08 +05:30
Indrajit Raychaudhuri
0fead533c0
Clarify better in deprecation message
...
Add additional helper method for adding credential
2012-03-01 00:28:12 +05:30
Indrajit Raychaudhuri
7b97b6833f
Credentials should be kept in SBT's own global base location
...
The old convention of keeping credentials in ~/.ivy2 isn't recommended anymore,
they can instead go in (customizable) global base location.
The global base defaults to `~/.sbt`, hence credentials go in `~/.sbt/.credentials`
(c.f. `Keys.globalBaseDirectory` and system property `sbt.global.base`)
2012-02-28 23:01:17 +05:30
Indrajit Raychaudhuri
14d4e41a15
Have convenient toString for `FileCredentials`
2012-02-28 23:01:17 +05:30
Mark Harrah
2137b29aa1
Merge pull request #369 from vigdorchik/Overwrite_setting
...
Overwrite previous setting if possible.
2012-02-28 07:48:44 -08:00
Indrajit Raychaudhuri
0a6f58a761
Remove use of deprecated `logger(s)` call
2012-02-28 19:07:47 +05:30
Indrajit Raychaudhuri
940b77f940
Make warnings for multiple resolvers with same name more verbose.
...
Just so that user can figure out more quickly what's going on
2012-02-28 16:33:20 +05:30
Indrajit Raychaudhuri
ea08f86520
Added support for providing basic SCM info
...
Sonatype OSS repo (where many libraries are expected to migrate) requires
populating SCM info in additional to what is already provisioned for
populating in SBT.
We now support populating the basic SCM info as thus:
```
// Usual <scm><url/><connection/></scm>
scmInfo := Some(ScmInfo(url("https://github.com/foo/project "), "scmhttps://github.com/foo/project.git "))
// Also add <developerConnection/>
scmInfo := Some(ScmInfo(url("https://github.com/foo/project "), "scmhttps://github.com/foo/project.git ", Some("dev_connection")))
```
For anything more esoteric than the basic info, there is always `pomPostProcess` :)
2012-02-28 15:30:51 +05:30
Mark Harrah
45eacbad4c
Declare extra namespace in ModuleDescriptor for parsed plugin poms. Fixes #368 .
2012-02-27 18:38:04 -05:00
Indrajit Raychaudhuri
4daed3b745
Adjust `packageConfig` Settings to be wrapped within appropriate `inTask` methods
2012-02-28 00:26:23 +05:30
Eugene Vigdorchik
63aa36bd1e
More agressive overwrite.
2012-02-27 22:28:09 +04:00
Eugene Vigdorchik
cca5b7e2f7
Add overwrite validation to the test.
2012-02-27 19:24:10 +04:00
Eugene Vigdorchik
e747b7b378
Add simple scripted test to verify overwrite functionality doesn't break .sbt file.
2012-02-27 18:28:06 +04:00
Eugene Vigdorchik
bb646d0437
SessionSetting to contain seq of line.
2012-02-27 11:46:23 +04:00
Mark Harrah
ec2566047d
allow plugins to inject settings at the build level. fixes #378
2012-02-25 12:01:08 -05:00
Mark Harrah
7b194e3dee
cleanup SourcePosition hierarchy
2012-02-25 12:01:07 -05:00
Mark Harrah
52bca9bb8a
add ConflictWarning.disable convenience method
2012-02-21 22:47:07 -05:00
Mark Harrah
edf7cb228c
fix build
2012-02-21 22:47:07 -05:00
Mark Harrah
509d8b7280
Merge pull request #377 from vigdorchik/classify_test_artifacts
...
'test-' preffix should be stripped to obtain classifier.
2012-02-21 10:17:53 -08:00
Eugene Vigdorchik
45073ee7f1
test- preffix should be stripped to obtain classifier.
2012-02-21 18:52:50 +04:00
Mark Harrah
457a0dc142
update README for 0.12.0-M1
2012-02-20 20:44:35 -05:00
Mark Harrah
14c5ed2985
Merge pull request #376 from vigdorchik/use_atomic_counters
...
Use AtomicInteger for test statistics, Fixes #372 .
2012-02-20 14:46:23 -08:00
Eugene Vigdorchik
1458cd52dc
Use AtomicInteger for test statistics, Fixes #372 .
2012-02-20 19:12:44 +04:00
Eugene Vigdorchik
eaa10b7a48
Support multi-line replacements.
2012-02-20 15:52:57 +04:00
Eugene Vigdorchik
ff4b42ce45
Merge
2012-02-20 12:30:10 +04:00
Eugene Vigdorchik
d23d39cc0f
Support multiline settings in build.sbt, assumes set command doesn't allow multiline settings. TODO:tests.
2012-02-20 12:27:26 +04:00
Mark Harrah
094bc7c7a5
version bump
2012-02-19 22:41:26 -05:00