Commit Graph

17940 Commits

Author SHA1 Message Date
eugene yokota 7af716f37b Merge pull request #3524 from eed3si9n/wip/language_server
language server protocol (VS Code integration)
2017-10-03 11:56:26 -04:00
Dale Wijnand 5c7461ada8 Merge pull request #3596 from dwijnand/slash
Cleanup and improve the unified slash syntax
2017-10-03 13:37:20 +01:00
Eugene Yokota 1ad9360e3e setting query is "sbt/setting" 2017-10-03 01:45:06 -04:00
Eugene Yokota a8e770c446 handle exec as "sbt/exec" 2017-10-03 00:18:58 -04:00
Eugene Yokota f188e60d8f Update test 2017-10-02 17:12:15 -04:00
Eugene Yokota 5d7641ee18 Filtering out mima issues 2017-10-02 15:52:02 -04:00
Eugene Yokota 4fe0d08ab0 substitute println with logger 2017-10-02 15:42:55 -04:00
Dale Wijnand e7b893fdc5
Cleanup and improve the unified slash syntax 2017-10-02 17:24:37 +01:00
eugene yokota 423a71d7c3 Merge pull request #3592 from agemooij/patch-1
Removed unused local val in Defaults.scala (publishTask)
2017-10-02 11:53:14 -04:00
Dale Wijnand f4eadfc259 Merge pull request #129 from sbt/1.0.x
Merge 1.0.x
2017-10-02 10:23:02 +01:00
Eugene Yokota 0c1c380f71 begins language server protocol
This is the first cut for the Language Server Protocol on top of server that is still work in progress.

With this change, sbt is able to invoke `compile` task on saving files in VS Code.
2017-10-02 04:01:13 -04:00
eugene yokota c7fc2c9247 Merge pull request #189 from stringbean/java9-gc
Set -XX:+UseParallelGC on Java 9
2017-09-28 19:20:21 -04:00
Michael Stringer 97f38b5a1d
Set -XX:+UseParallelGC on Java 9 2017-09-28 20:00:33 +01:00
Age Mooij 30e81398fd Removed unused local val 2017-09-28 13:37:38 +02:00
Dale Wijnand 21bd7c3a91 Merge pull request #3434 from eed3si9n/wip/slash
Unify sbt shell and build.sbt syntax (unified slash syntax redux)
2017-09-28 09:26:25 +01:00
Eugene Yokota b0306b738e Add whitespaces in Show of scoped keys
```
Provided by:
    ProjectRef(uri("...."), "root") / Test / test
Dependencies:
    Test / executeTests
    Test / test / streams
    Test / state
    Test / test / testResultLogger
```
2017-09-28 03:34:49 -04:00
Eugene Yokota 33a01f3ceb Unified slash syntax
Fixes sbt/sbt#1812

This adds unified slash syntax for both sbt shell and the build.sbt DSL.
Instead of the current `<project-id>/config:intask::key`,
this adds `<project-id>/<config-ident>/intask/key` where <config-ident> is the Scala identifier notation for the configurations like `Compile` and `Test`.

This also adds a series of implicits called `SlashSyntax` that adds `/` operators to project refererences, configuration, and keys such that the same syntax works in build.sbt.

These examples work for both from the shell and in build.sbt.

    Global / cancelable
    ThisBuild / scalaVersion
    Test / test
    root / Compile / compile / scalacOptions
    ProjectRef(uri("file:/xxx/helloworld/"),"root")/Compile/scalacOptions
    Zero / Zero / name

The inspect command now outputs something that can be copy-pasted:

    > inspect compile
    [info] Task: sbt.inc.Analysis
    [info] Description:
    [info] 	Compiles sources.
    [info] Provided by:
    [info] 	ProjectRef(uri("file:/xxx/helloworld/"),"root")/Compile/compile
    [info] Defined at:
    [info] 	(sbt.Defaults) Defaults.scala:326
    [info] Dependencies:
    [info] 	Compile/manipulateBytecode
    [info] 	Compile/incCompileSetup
    [info] Reverse dependencies:
    [info] 	Compile/printWarnings
    [info] 	Compile/products
    [info] 	Compile/discoveredSbtPlugins
    [info] 	Compile/discoveredMainClasses
    [info] Delegates:
    [info] 	Compile/compile
    [info] 	compile
    [info] 	ThisBuild/Compile/compile
    [info] 	ThisBuild/compile
    [info] 	Zero/Compile/compile
    [info] 	Global/compile
    [info] Related:
    [info] 	Test/compile
2017-09-28 01:01:43 -04:00
Dale Wijnand 9f27590efd Merge pull request #3577 from laughedelic/patch-1
Changed default version setting to 0.1.0-SNAPSHOT
2017-09-27 09:53:40 +01:00
eugene yokota eda1e773fd Merge pull request #171 from leonardehrenfried/1.x
Add file name to exception message
2017-09-26 18:42:31 -04:00
eugene yokota 470da7bd9e Merge pull request #182 from smarter/java10
Support Java 10
2017-09-26 18:32:55 -04:00
eugene yokota bc00a5490c Merge pull request #187 from timcharper/patch-1
OS X compatible line-ending stripping
2017-09-26 18:32:22 -04:00
Tim Harper d251388f53 OS X compatible line-ending stripping
BSD sed interprets sed 's/\r//' as "replace the literal letter r". A more compatible approach delegates the interpretation of this sequence to bash.

Fixes #186
2017-09-26 15:30:03 -06:00
Alexey Alekhin 5384114185 Merge branch '1.x' into patch-1 2017-09-26 21:30:04 +02:00
Dale Wijnand 67d1da48f1 Merge pull request #3566 from jonas/scripted-skip-1.0
Fix #3564: Filter scripted tests based on project/build.properties
2017-09-26 14:34:24 +01:00
Alexey Alekhin 402b9ef95c Fixed version in the package-delete-target test 2017-09-26 13:13:33 +02:00
Leonard Ehrenfried 08fedf787b
Add file name to exception message 2017-09-26 10:43:34 +02:00
Alexey Alekhin e99aa6d7b3 Added release note for the `version` new default 2017-09-26 01:22:44 +02:00
Jonas Fonseca 3a666705a6 Add release note 2017-09-25 14:08:41 -04:00
Jonas Fonseca a08a93c5e6 Set deprecation version to 1.1.0 2017-09-25 13:56:42 -04:00
Alexey Alekhin 632b14cf78 Changed default version setting to 0.1.0-SNAPSHOT
To make it compatible with semantic versioning. Fixes #3467.
2017-09-25 15:06:17 +02:00
Dale Wijnand 9d8a041a06 Merge pull request #3556 from eed3si9n/wip/plain_portfile
sbt client-server port discovery
2017-09-25 13:58:44 +01:00
Dale Wijnand c0b961c5c3 Merge pull request #183 from SethTisue/upgrade-bintray-plugin
use newer version of bintray plugin
2017-09-25 11:34:27 +01:00
Dale Wijnand 6bad6ae0dd Merge pull request #128 from eed3si9n/wip/jvalue_formats
Fixes ???, providing JValue pass-through
2017-09-25 11:31:38 +01:00
Dale Wijnand be73dc0a33 Merge pull request #127 from sbt/1.0.x
Merge 1.0.x
2017-09-25 11:29:02 +01:00
Eugene Yokota d5e24979bf Reference token file using URI and full file path
Node didn't seem to like read URI out of the box, and I am not sure if File -> URI -> File conversion is universally accepted.

Ref sbt/sbt#3088
2017-09-25 01:35:49 -04:00
Seth Tisue 66a105eb03 use newer version of bintray plugin
for Scala community build friendliness.  but also just
generally a good thing
2017-09-24 19:45:18 -07:00
Eugene Yokota 6fca557dc5 1.0.2-SNAPSHOT 2017-09-24 06:43:27 -04:00
Eugene Yokota ddb6a13feb Provide JValue pass-through 2017-09-24 06:36:18 -04:00
eugene yokota bec0466a41 Merge pull request #170 from laughedelic/patch-1
Removed extra slash in the localBasePattern
2017-09-23 18:00:31 -04:00
Alexandre Archambault 9b018f6dbc Merge pull request #664 from coursier/develop
Remove scripted workaround
2017-09-23 18:53:29 +02:00
Alexandre Archambault ccd102e2ec Remove scripted workaround
Shouldn't be required anymore since
09c5ce417a
2017-09-23 18:00:38 +02:00
Alexey Alekhin 364ba9b44b Removed extra slash in the localBasePattern
When the `scala_[scalaVersion]/` segment is present and the `/[branch]` segment isn't, an extra slash appears before `/[revision]`.
2017-09-23 15:20:43 +02:00
Alexandre Archambault b7c7d5f9e6 Merge pull request #660 from coursier/topic/foo
Minor things
2017-09-22 16:20:53 +02:00
Eugene Yokota 252e803de8 expand the token out to 128-bits 2017-09-22 01:30:27 -04:00
Eugene Yokota 348a077797 implement tokenfile authentication 2017-09-21 23:05:48 -04:00
Jonas Fonseca 62a1d42c55 Fix #3564: Filter scripted tests based on project/build.properties
Skip scripted tests where the binary version configured in the build
does not match the binary version of sbt used for cross-building.
2017-09-21 00:27:21 -04:00
eugene yokota 293666f653 Merge pull request #168 from sbt/1.0.x
Merge 1.0.x
2017-09-20 15:22:49 -04:00
eugene yokota c57e831112 Merge pull request #3561 from jastice/1.0.x-pr/3560
Pass `allJars` when creating ScalaInstance instead of `otherJars`.
2017-09-20 11:13:22 -04:00
Alexandre Archambault 24fa04d814 Update scala-native setup on Travis CI 2017-09-20 16:58:41 +02:00
Alexandre Archambault 2c4c3aa3d3 Fix README updating in release process 2017-09-20 16:57:31 +02:00