-
Notifications
You must be signed in to change notification settings - Fork 949
Closed
Description
steps
Port plugins to sbt 2.x.
problem
> check
- $ exists target/classes/somepackage/SomeClass.class
- $ absent target/classes/shaded/SomeClass.class
> unzip
- $ exists target/unzipped/shaded/SomeClass.class
- $ absent target/unzipped/somepackage/SomeClass.class
This is because it's currently too annoying to test this that works for both sbt 1.x and sbt 2.x
> check
$ exists target/out/jvm/scala-2.12.18/root/classes/somepackage/SomeClass.class
$ absent target/out/jvm/scala-2.12.18/root/classes/shaded/SomeClass.class
> unzip
$ exists target/out/jvm/scala-2.12.18/root/unzipped/shaded/SomeClass.class
$ absent target/out/jvm/scala-2.12.18/root/unzipped/somepackage/SomeClass.class
expectation
||
should be interpreted to be an or expression
$ exists target/unzipped/shaded/SomeClass.class || target/out/jvm/scala-2.12.18/root/classes/somepackage/SomeClass.class
*
and **
should be interpreted as glob expression:
$ exists target/**/classes/somepackage/SomeClass.class
mkurz