mirror of https://github.com/sbt/sbt.git
[2.x] test: Test -Werror in metabuild (#8510)
**Problem** -Werror in the metabuild didn't work on sbt 1.x. **Solution** This adds test for it on sbt 2.x.
This commit is contained in:
parent
02dcab80b9
commit
570ca30f69
|
|
@ -0,0 +1,6 @@
|
|||
scalaVersion := "3.7.4"
|
||||
|
||||
@deprecated
|
||||
def foo = true
|
||||
|
||||
fork := foo
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
scalaVersion := "3.7.4"
|
||||
|
||||
@deprecated
|
||||
def foo = true
|
||||
|
||||
fork := !foo
|
||||
|
|
@ -0,0 +1 @@
|
|||
scalacOptions += "-Werror"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
> name
|
||||
|
||||
$ copy-file changes/p.sbt project/p.sbt
|
||||
$ copy-file changes/build.sbt build.sbt
|
||||
|
||||
-> reload
|
||||
Loading…
Reference in New Issue