Bump sbt version to 1.3.12 (#795)

This commit is contained in:
Radosław Waśko 2020-06-01 14:03:30 +02:00 committed by GitHub
parent 45801c6eb1
commit 92ac4b7449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 14 deletions

View File

@ -11,7 +11,7 @@ env:
graalVersion: 20.1.0
javaVersion: java8
# Please ensure that this is in sync with project/build.properties
sbtVersion: 1.3.10
sbtVersion: 1.3.12
excludedPaths: |
.github/PULL_REQUEST_TEMPLATE.md
.github/CODEOWNERS

View File

@ -103,15 +103,17 @@ look at the design documentation for the language. These files explain provide
both a rigorous specification of Enso's design, but also insight into the _why_
behind the decisions that have been made.
These can be found in [`docs/design/`](docs/design/), and are organised by the
part of the compiler that they relate to.
These can be found in [`docs/`](README.md), and are organised by the part of the
compiler that they relate to.
### System Requirements
In order to build and run Enso you will need the following tools:
- [sbt](https://www.scala-sbt.org/) with version at least 1.3.0.
- [sbt](https://www.scala-sbt.org/) with the same version as specified in
[`project/build.properties`](../project/build.properties).
- [GraalVM](https://www.graalvm.org/) with version at least that described in
the [`build.sbt`](build.sbt) file, and Java 8, configured as your default JVM.
the [`build.sbt`](../build.sbt) file, and Java 8, configured as your default
JVM.
- [Flatbuffers Compiler](https://google.github.io/flatbuffers) with version
1.12.0.
@ -224,7 +226,7 @@ the following flags:
- `--printAssembly`: Prints the assembly output from the HotSpot JIT tier.
For more information on this sbt command, please see
[WithDebugCommand.scala](project/WithDebugCommand.scala).
[WithDebugCommand.scala](../project/WithDebugCommand.scala).
It is used as an addendum to the basic sbt command you want to run (e.g. `test`
from above). The format is `withDebug COMMAND [OPTIONS...]`, and if you need to
@ -289,7 +291,7 @@ getting the project into a working state in IntelliJ.
with an open SBT shell, which can be interacted with as described above. You
will want to use scalafmt for formatting of Scala code, and install Google
Java Format for formatting Java code. For more information see the relevant
[Style Guides](docs/style-guide).
[Style Guides](style-guide/README.md).
However, as mentioned in the [Troubleshooting](#troubleshooting) section below,
the forked nature of execution in the SBT shell means that we can't trivially
@ -393,8 +395,8 @@ Please make all pull requests against the `master` branch.
the tests yourself locally first! This can be done by running `test` in the
`enso` project in sbt.
- Additionally, please ensure that your code conforms to the Enso style guides,
particularly the [Scala Style Guide](./docs/style-guide/scala.md) and the
[Java Style Guide](./docs/style-guide/java.md).
particularly the [Scala Style Guide](./style-guide/scala.md) and the
[Java Style Guide](./style-guide/java.md).
Make sure you perform these checks before _every_ pull request. You can even add
[git hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) before
@ -418,7 +420,7 @@ the best results through open collaboration.
Documentation improvements are very welcome! For now, the main documentation
available is the _developer_ documentation for the language, which can be found
at the [dev docs site](https://dev.enso.org). The source for this documentation
is found in the [`docs/`](./docs/) folder, and can be altered from there.
is found in the [`docs/`](.) folder, and can be altered from there.
Documentation pull requests will be reviewed in exactly the same way as normal
pull requests.
@ -458,6 +460,6 @@ to contribute in other ways outside this repository:
For people new to Enso, and just starting to contribute, or even for more
seasoned developers, some useful places to look for information are:
- The [design documentation](docs/).
- The [design documentation](./README.md).
- The community! Don't be afraid to ask questions.

View File

@ -4,6 +4,7 @@ import java.nio.file.{Files, Path, Paths}
import java.util.concurrent.{Executors, LinkedBlockingQueue, Semaphore}
import org.apache.commons.io.FileUtils
import org.enso.jsonrpc.test.FlakySpec
import org.enso.languageserver.effect.Effects
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers
@ -11,7 +12,7 @@ import org.scalatest.matchers.should.Matchers
import scala.concurrent.duration._
import scala.util.Try
class WatcherAdapterSpec extends AnyFlatSpec with Matchers with Effects {
class WatcherAdapterSpec extends AnyFlatSpec with Matchers with Effects with FlakySpec {
import WatcherAdapter._
@ -37,7 +38,7 @@ class WatcherAdapterSpec extends AnyFlatSpec with Matchers with Effects {
event2 shouldBe WatcherEvent(fileA, EventTypeDelete)
}
it should "get modify events" in withWatcher { (path, events) =>
it should "get modify events" taggedAs (Flaky) in withWatcher { (path, events) =>
val fileA = Paths.get(path.toString, "a.txt")
Files.createFile(fileA)

View File

@ -1 +1 @@
sbt.version=1.3.10
sbt.version=1.3.12