Skip to content

Commit f54ca6d

Browse files
authored
Merge pull request #4740 from dotty-staging/sbt-1.1.6
Update sbt and Drone image
2 parents 32933a5 + d82c2c9 commit f54ca6d

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

.drone.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@ pipeline:
2323
# We run tests in parallel. Tests run in a copy of the working directory to avoid conflict
2424
test:
2525
group: test
26-
image: lampepfl/dotty:2018-05-23
26+
image: lampepfl/dotty:2018-06-29
2727
commands:
2828
- cp -R . /tmp/1/ && cd /tmp/1/
2929
- ./project/scripts/sbt ";compile ;test"
3030
- ./project/scripts/cmdTests
3131

3232
test_bootstrapped:
3333
group: test
34-
image: lampepfl/dotty:2018-05-23
34+
image: lampepfl/dotty:2018-06-29
3535
commands:
3636
- cp -R . /tmp/2/ && cd /tmp/2/
3737
- ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test"
3838

3939
test_optimised:
4040
group: test
41-
image: lampepfl/dotty:2018-05-23
41+
image: lampepfl/dotty:2018-06-29
4242
commands:
4343
- cp -R . /tmp/3/ && cd /tmp/3/
4444
- ./project/scripts/sbt dotty-optimised/test
4545

4646
test_sbt:
4747
group: test
48-
image: lampepfl/dotty:2018-05-23
48+
image: lampepfl/dotty:2018-06-29
4949
commands:
5050
- cp -R . /tmp/4/ && cd /tmp/4/
5151
- ./project/scripts/sbt sbt-dotty/scripted
@@ -55,7 +55,7 @@ pipeline:
5555

5656
# DOCUMENTATION:
5757
documentation:
58-
image: lampepfl/dotty:2018-05-23
58+
image: lampepfl/dotty:2018-06-29
5959
commands:
6060
- ./project/scripts/genDocs
6161
secrets: [ bot_pass ]
@@ -67,7 +67,7 @@ pipeline:
6767
# PUBLISHING:
6868
# Publishing expect NIGHTLYBUILD or RELEASEBUILD to be set. See dottyVersion in Build.scala
6969
publish_nightly:
70-
image: lampepfl/dotty:2018-05-23
70+
image: lampepfl/dotty:2018-06-29
7171
environment:
7272
- NIGHTLYBUILD=yes
7373
commands:
@@ -78,7 +78,7 @@ pipeline:
7878
environment: nightly
7979

8080
publish_release:
81-
image: lampepfl/dotty:2018-05-23
81+
image: lampepfl/dotty:2018-06-29
8282
environment:
8383
- RELEASEBUILD=yes
8484
commands:
@@ -102,7 +102,7 @@ pipeline:
102102
event: tag
103103

104104
publish_sbt_release:
105-
image: lampepfl/dotty:2018-05-23
105+
image: lampepfl/dotty:2018-06-29
106106
environment:
107107
- RELEASEBUILD=yes
108108
commands:

dist-bootstrapped/bin

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist-optimised/bin

Lines changed: 0 additions & 1 deletion
This file was deleted.

project/Build.scala

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,13 +1138,21 @@ object Build {
11381138
publishArtifact := false,
11391139
packGenerateMakefile := false,
11401140
packExpandedClasspath := true,
1141-
packResourceDir += (baseDirectory.value / "bin" -> "bin"),
11421141
packArchiveName := "dotty-" + dottyVersion
11431142
)
11441143

11451144
lazy val dist = project.asDist(NonBootstrapped)
1145+
.settings(
1146+
packResourceDir += (baseDirectory.value / "bin" -> "bin"),
1147+
)
11461148
lazy val `dist-bootstrapped` = project.asDist(Bootstrapped)
1149+
.settings(
1150+
packResourceDir += ((baseDirectory in dist).value / "bin" -> "bin"),
1151+
)
11471152
lazy val `dist-optimised` = project.asDist(BootstrappedOptimised)
1153+
.settings(
1154+
packResourceDir += ((baseDirectory in dist).value / "bin" -> "bin"),
1155+
)
11481156

11491157
// /** A sandbox to play with the Scala.js back-end of dotty.
11501158
// *
@@ -1237,7 +1245,9 @@ object Build {
12371245
withCommonSettings.
12381246
dependsOn(`dotty-interfaces`, dottyCompiler, dottyLibrary, dottyDoc).
12391247
settings(commonDistSettings).
1240-
bootstrappedSettings(target := baseDirectory.value / "target") // override setting in commonBootstrappedSettings
1248+
bootstrappedSettings(
1249+
target := baseDirectory.value / "target" // override setting in commonBootstrappedSettings
1250+
)
12411251

12421252
def withCommonSettings(implicit mode: Mode): Project = project.settings(mode match {
12431253
case NonBootstrapped => commonNonBootstrappedSettings

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.1.5
1+
sbt.version=1.1.6

0 commit comments

Comments
 (0)