mirror of https://github.com/sbt/sbt.git
Use latest sbtn
This commit is contained in:
parent
31c09c114e
commit
ac638a764d
|
|
@ -121,7 +121,7 @@ val root = (project in file(".")).
|
||||||
file
|
file
|
||||||
},
|
},
|
||||||
// update sbt.sh at root
|
// update sbt.sh at root
|
||||||
sbtnVersion := "1.8.1-M1",
|
sbtnVersion := "1.8.1",
|
||||||
sbtnJarsBaseUrl := "https://github.com/sbt/sbtn-dist/releases/download",
|
sbtnJarsBaseUrl := "https://github.com/sbt/sbtn-dist/releases/download",
|
||||||
sbtnJarsMappings := {
|
sbtnJarsMappings := {
|
||||||
val baseUrl = sbtnJarsBaseUrl.value
|
val baseUrl = sbtnJarsBaseUrl.value
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ class InstallSbtnSpec extends AnyFlatSpec {
|
||||||
"InstallSbtn" should "extract native sbtn" ignore
|
"InstallSbtn" should "extract native sbtn" ignore
|
||||||
withTemp(".zip") { tmp =>
|
withTemp(".zip") { tmp =>
|
||||||
withTemp(".exe") { sbtn =>
|
withTemp(".exe") { sbtn =>
|
||||||
InstallSbtn.extractSbtn(term, "1.8.1-M1", tmp, sbtn)
|
InstallSbtn.extractSbtn(term, "1.8.1", tmp, sbtn)
|
||||||
val tmpDir = Files.createTempDirectory("sbtn-test").toRealPath()
|
val tmpDir = Files.createTempDirectory("sbtn-test").toRealPath()
|
||||||
Files.createDirectories(tmpDir.resolve("project"))
|
Files.createDirectories(tmpDir.resolve("project"))
|
||||||
val foo = tmpDir.resolve("foo")
|
val foo = tmpDir.resolve("foo")
|
||||||
|
|
|
||||||
2
sbt
2
sbt
|
|
@ -24,7 +24,7 @@ declare build_props_sbt_version=
|
||||||
declare use_sbtn=
|
declare use_sbtn=
|
||||||
declare no_server=
|
declare no_server=
|
||||||
declare sbtn_command="$SBTN_CMD"
|
declare sbtn_command="$SBTN_CMD"
|
||||||
declare sbtn_version="1.8.1-M1"
|
declare sbtn_version="1.8.1"
|
||||||
|
|
||||||
### ------------------------------- ###
|
### ------------------------------- ###
|
||||||
### Helper methods for BASH scripts ###
|
### Helper methods for BASH scripts ###
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue