Skip to content

Commit ee3f3c1

Browse files
author
Antonio Cunei
committed
Remove scripted references from io and util (which do not have scripted tests)
1 parent 36fc8cc commit ee3f3c1

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

210.conf

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ vars.sbtBuild210: {
55
space.to: ${vars.space-to-prefix}"sbt210"
66
sbt-version: "1.0.1-toni1"
77
extraction-version: ${vars.scala210-version}
8-
sbt-commands: ${vars.sbt-commands}
98

109
projects: [
1110
{

211.conf

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ vars.sbtBuild211: {
55
space.to: ${vars.space-to-prefix}"sbt211"
66
sbt-version: "1.0.1-toni1"
77
extraction-version: ${vars.scala211-version}
8-
sbt-commands: ${vars.sbt-commands}
98

109
projects: [
1110
{

212.conf

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ vars.sbtBuild212: {
55
space.to: ${vars.space-to-prefix}"sbt212"
66
sbt-version: "1.0.1-toni1"
77
extraction-version: ${vars.scala212-version}
8-
sbt-commands: ${vars.sbt-commands}
98

109
projects: [
1110
{

sbtcommunity.dbuild

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ build: {
1616
space.from: default
1717
space.to: ""
1818
extraction-version: ${vars.scala212-version}
19-
sbt-commands: [ "set scriptedLaunchOpts ++= Seq(\"-Dsbt.override.build.repos=true\", (\"-Dsbt.repository.config=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/repositories\"), (\"-Dsbt.ivy.home=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/ivy2\"))",
20-
"set bintrayRelease in root := ()" ]
2119

2220
projects: [
2321
{
@@ -32,15 +30,17 @@ build: {
3230
uri: "https://github.com/sbt/sbt-bintray.git#"${vars.sbtbintray}
3331
extra.test-tasks: [ test, scripted ]
3432
extra.skip-missing-tests: true
35-
extra.commands: [ "set sbtVersion in pluginCrossBuild := \""${FRESHSBTVERSION}"\"" ]
33+
extra.commands: [ "set scriptedLaunchOpts ++= Seq(\"-Dsbt.override.build.repos=true\", (\"-Dsbt.repository.config=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/repositories\"), (\"-Dsbt.ivy.home=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/ivy2\"))",
34+
"set bintrayRelease in root := ()",
35+
"set sbtVersion in pluginCrossBuild := \""${FRESHSBTVERSION}"\"" ]
3636
}
3737
]
3838
}
3939

4040
options.resolvers: {
4141
"R0000" : "local"
42-
"R0001" : "sbt-snapshots: file:///localhome/jenkinssbt/sbt-snapshots"
43-
# "R0001" : "sbt-snapshots: file:///home/cunei/activities/clones/sbt-standalone-build/sbt-snapshots"
42+
# "R0001" : "sbt-snapshots: file:///localhome/jenkinssbt/sbt-snapshots"
43+
"R0001" : "sbt-snapshots: file:///home/cunei/activities/clones/sbt-standalone-build/sbt-snapshots"
4444
"R0002" : "proxy-ch-maven: https://proxy-ch.typesafe.com:8082/artifactory/repo"
4545
"R0003" : "proxy-ch-ivy: https://proxy-ch.typesafe.com:8082/artifactory/repo, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]"
4646
"R0004" : "sbt-toni: https://dl.bintray.com/cunei/sbt-temp/"

validator.dbuild

+10-7
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ vars: {
2424
scala210-version: ${vars.scala210-bin-version}".6"
2525

2626
// propagate resolvers to the scripted tests
27-
sbt-commands: [ "set scriptedLaunchOpts ++= Seq(\"-Dsbt.override.build.repos=true\", (\"-Dsbt.repository.config=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/repositories\"), (\"-Dsbt.ivy.home=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/ivy2\"))",
28-
"set bintrayRelease in root := ()" ]
29-
3027
// if $SPACE_PREFIX is undefined, or "", then dbuild will compile
3128
// all subprojects on top of each other. If it is anything else,
3229
// each subproject's artifacts will end up in a dummy space, therefore
@@ -40,31 +37,37 @@ vars: {
4037
set-version-suffix: "bin-"${TIMESTAMP}
4138
extra.skip-missing-tests: true
4239
extra.test-tasks: [ test ]
43-
// extra.test-tasks: [ test, scripted ]
40+
// extra.test-tasks: [ test, scripted ] // scripted testing too complex in sbt/sbt for dbuild
41+
extra.commands: [ "set scriptedLaunchOpts ++= Seq(\"-Dsbt.override.build.repos=true\", (\"-Dsbt.repository.config=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/repositories\"), (\"-Dsbt.ivy.home=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/ivy2\"))",
42+
"set bintrayRelease in root := ()",
4443
// restore sbt-launch to the standard publish task
45-
extra.commands: [ "project bundledLauncherProj","set publish := sbt.Classpaths.publishTask(publishConfiguration, deliver).value" ]
44+
"project bundledLauncherProj","set publish := sbt.Classpaths.publishTask(publishConfiguration, deliver).value" ]
4645
}
4746
zinc: {
4847
uri: "https://github.com/sbt/zinc.git#"${zinc}
4948
set-version-suffix: "bin-"${TIMESTAMP}
49+
extra.commands: [ "set scriptedLaunchOpts ++= Seq(\"-Dsbt.override.build.repos=true\", (\"-Dsbt.repository.config=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/repositories\"), (\"-Dsbt.ivy.home=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/ivy2\"))",
50+
"set bintrayRelease in root := ()" ]
5051
extra.test-tasks: [ test, scripted ]
5152
extra.run-tests: false
5253
}
5354
io: {
5455
uri: "https://github.com/sbt/io.git#"${io}
5556
set-version-suffix: "bin-"${TIMESTAMP}
56-
extra.test-tasks: [ test, scripted ]
57+
extra.test-tasks: [ test ] // there are no scripted tests in sbt/io
5758
extra.skip-missing-tests: true
5859
}
5960
util: {
6061
uri: "https://github.com/sbt/util.git#"${util}
6162
set-version-suffix: "bin-"${TIMESTAMP}
62-
extra.test-tasks: [ test, scripted ]
63+
extra.test-tasks: [ test ] // there are no scripted tests in sbt/util
6364
extra.skip-missing-tests: true
6465
}
6566
lib: {
6667
uri: "https://github.com/sbt/librarymanagement.git#"${librarymanagement}
6768
set-version-suffix: "bin-"${TIMESTAMP}
69+
extra.commands: [ "set scriptedLaunchOpts ++= Seq(\"-Dsbt.override.build.repos=true\", (\"-Dsbt.repository.config=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/repositories\"), (\"-Dsbt.ivy.home=\"+(baseDirectory.value.getAbsolutePath())+\"/.dbuild/ivy2\"))",
70+
"set bintrayRelease in root := ()" ]
6871
extra.test-tasks: [ test, scripted ]
6972
extra.skip-missing-tests: true
7073
}

0 commit comments

Comments
 (0)