eugene yokota
bd1b3cfe00
Improve `show` when key returns a `Seq` ( #2752 )
...
This changes the output to:
```
> show externalDependencyClasspath
[info] Updating {file:/xxx/hello/}root...
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[info] *
Attributed(/Users/xxx/.sbt/boot/scala-2.11.8/lib/scala-library.jar)
[info] *
Attributed(/Users/xxx/.ivy2/cache/commons-io/commons-io/jars/commons-io-
2.4.jar)
```
2016-09-23 02:12:44 +01:00
Eugene Yokota
15c078ab0b
Quieter ivyLoggingLevel for CI
...
`ivyLoggingLevel` is dropped to `UpdateLogging.Quiet` when Jenkins or
Travis is detected.
2016-09-15 22:57:07 -04:00
Eugene Yokota
357a146460
Silent startup for scalas
...
Fixes #840
2016-09-15 03:42:23 -04:00
eugene yokota
26d0b25a12
Merge pull request #2721 from eed3si9n/wip/zinc_x2
...
bumping to zinc 1.0.0-X3
2016-09-07 00:45:31 -04:00
Eugene Yokota
f4400ed171
zinc 1.0.0-X3
2016-09-06 23:39:34 -04:00
Dale Wijnand
1ba7bb0fb9
Merge pull request #2712 from Duhemm/fport/key-selection-build-level
...
Forward port #2469 & #2708
2016-09-01 09:23:01 +01:00
Martin Duhem
faf6120c93
Unspecified project axis means current project or its build
2016-08-31 10:42:32 +02:00
Eugene Yokota
9655f50c55
bumping to zinc 1.0.0-X2
2016-08-30 21:37:20 -04:00
kenji yoshida
27fe8eb6f7
remove unused imports ( #2719 )
2016-08-30 07:29:17 +01:00
Eugene Yokota
829ec4dd3a
Update Defaults and scripted to := style
2016-08-29 23:02:10 -04:00
xuwei-k
857fc0f5da
use JavaConverters instead of JavaConversions
...
- https://issues.scala-lang.org/browse/SI-9684
- 0c5b42d974
2016-08-30 01:31:04 +09:00
Martin Duhem
3da38b14db
Fix key selection for build level keys
...
PR #2469 added build keys to tab completion, with the side effect of
considering as available candidate in key selection, thus making sbt
think that some inputs were ambiguous (e.g. `baseDirectory`): should it
apply to the current project or to the build level key?
This commit fixes this issue by improving the key selection:
- If there's no candidate, we return the default key
- If there's a single possible project level key, and zero or more
build level keys, then we select the project level key.
- If there are zero project level key, and a single build level key,
then we select the build level key
- If there are multiple candidates, sbt says that the input is
ambiguous.
Fixes #2707
2016-08-26 08:14:28 +02:00
Martin Duhem
3c9d2ff57a
Completion for build-level keys
...
sbt's shell provided completion only for keys that were relative to a
defined project, but didn't provide completion for keys that belong to
the build definition only.
This commit fixes this issue by defining a new kind of `Parser` (from
which completions are generated) which runs its input simultaneously on
distinct parsers. We now define a parser for project-level keys and
another parser for build-level keys. These two parsers are eventually
combined, and we get the completions of both parsers.
Fixes sbt/sbt#2460
2016-08-26 08:14:28 +02:00
kenji yoshida
0c086a7761
`aggregate` can now be used inside a .sbt file ( #2683 )
...
(cherry picked from commit b92e5773f7 )
2016-07-27 23:35:16 +09:00
Dale Wijnand
c5f59d4406
Check formatting with TravisCI
...
Fixes #2657
2016-07-18 12:58:30 -04:00
eugene yokota
f221d0ab28
Merge pull request #2667 from OlegYch/fix-project-macro-error-message
...
Better error message from project macro
2016-07-18 11:29:26 -04:00
eugene yokota
4b0ccd2dab
Merge pull request #2670 from dwijnand/remove-404-resolvers
...
Remove resolvers to repositories that don't exist
2016-07-18 11:10:18 -04:00
Dale Wijnand
b245cf5f58
Remove resolvers to repositories that don't exist
...
Fixes #2195
2016-07-15 08:16:40 +01:00
eugene yokota
5abccaedd2
Merge pull request #2673 from dwijnand/leave-update-options-alone
...
Don't redefine updateOptions to ignore ThisBuild
2016-07-14 22:35:28 -04:00
Dale Wijnand
84c611af36
Remove unused vals/defs
2016-07-12 14:31:35 +01:00
Dale Wijnand
886d95c0e5
Don't redefine updateOptions to ignore ThisBuild
...
Fixes #2671
2016-07-12 13:24:14 +01:00
Dale Wijnand
deea82542c
Remove unused imports
2016-07-12 11:55:10 +01:00
OlegYch
caba7e145c
Better error message from project macro
2016-07-12 01:29:24 +03:00
Dale Wijnand
96e086b1a1
AutoPlugin should require JvmPlugin by default
...
Fixes #2082
2016-07-08 10:57:55 +01:00
Dale Wijnand
12c2734052
Pattern match some if/else's
2016-07-07 18:21:25 +01:00
Dale Wijnand
4c75d778b9
Group imports
2016-07-07 18:21:25 +01:00
Dale Wijnand
32760bed55
Remove some fatal exception catching
2016-07-07 18:21:25 +01:00
Dale Wijnand
387674a451
Remove some heads and tails
2016-07-07 18:21:25 +01:00
Eugene Yokota
246ec58e35
Adapting to Zinc changes
2016-06-26 03:55:37 +02:00
Grzegorz Kossakowski
824b59a3ef
Adapt to changes to DefinesClass in zinc
...
The definition of `DefinesClass` has changed from being a function
`File => String => Boolean` to just a function `String => Boolean`. The
changes in this commit reflect that fact.
Also, this commit implements a newly introduced PerClasspathEntryLookup.
2016-06-26 03:49:55 +02:00
Grzegorz Kossakowski
e8c5ff0ffe
Remove use of `DefinesClass` in Load.scala
...
It turns out that `DefinesClass` was a dead data: it was passed around
but not used anywhere.
2016-06-26 03:49:55 +02:00
Dale Wijnand
01a7a00915
Remove old sbt parser
2016-06-21 13:15:10 +01:00
Dale Wijnand
a0193d28ea
Cleanup mainProj
2016-06-21 13:15:10 +01:00
Dale Wijnand
ffafdc2e03
Remove OldPlugin
2016-06-21 08:09:30 +01:00
Dale Wijnand
bf8c5d2135
Drop use of AttributeKey#rawLabel
2016-06-21 08:09:30 +01:00
Miles Sabin
1e9bb93285
Override scala organization and version transitively at the Ivy level
2016-06-05 09:46:00 +01:00
Pedro Larroy
f5e8c8736f
Fix typo: paralleism -> parallelism
2016-05-26 07:38:27 +00:00
James Roper
e21c871d71
Replaced cross building support with sbt-doge
2016-05-17 09:49:16 +10:00
ekrich
d383c2f306
Add Windows script support and native file extensions on Unix platforms
...
When running a sbt script, this change lets the user on UNIX and
Windows platforms to use native file extensions like none/.sh or
.bat/.cmd. The code copies the file to the sbt boot/hash/src_managed
directory with a .scala extension.
2016-05-13 12:01:14 -07:00
Eugene Yokota
d437e8299e
Typo fix
2016-05-07 20:31:19 -04:00
Eugene Yokota
420679df10
Address Codacy issues
2016-05-07 15:46:22 -04:00
Eugene Yokota
0cc9488632
Bring BuildStructure and others into internal
2016-05-06 19:21:13 -04:00
Eugene Yokota
ce3926fbed
Bring EvaluateConfigurations and DslEntry to internal
2016-05-06 17:32:26 -04:00
Eugene Yokota
ee272d780e
Reorganize directory structure
2016-05-06 16:01:49 -04:00
eugene yokota
6a9ced8eb6
Merge pull request #2589 from eed3si9n/wip/bumptozinc
...
[sbt 1.0] Bumping up to Zinc 1.0.0-M1
2016-05-06 05:40:58 -04:00
Eugene Yokota
60fa2b842a
Renamed per review
2016-05-06 01:41:17 -04:00
Eugene Yokota
f8ef449789
Fix test quick
2016-05-06 01:30:35 -04:00
Eugene Yokota
738e8fb2f3
Adjust discovery code to new Zinc
2016-05-05 16:11:57 -04:00
Eugene Yokota
fd7c162ea8
Bumping up dependencies
2016-05-05 14:38:24 -04:00
Martin Duhem
c70c9989e5
Upgrade to latest zinc
2016-05-04 16:44:31 +02:00