diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-15 11:28:15 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-15 11:28:15 -0800 |
commit | 09bdc885cf6d07a531e78827f168affb31fa90b5 (patch) | |
tree | fe9e5458e9df9fe49154c9564b443f44ade29eae /core/src/main/scala | |
parent | 39bfb3f02cc539def76c7df69073c62bb6e5dc96 (diff) | |
download | mill-09bdc885cf6d07a531e78827f168affb31fa90b5.tar.gz mill-09bdc885cf6d07a531e78827f168affb31fa90b5.tar.bz2 mill-09bdc885cf6d07a531e78827f168affb31fa90b5.zip |
- Test cases for `basePath` behavior in cross-builds
- Avoid reversing the order of cross values when there are more than one provided
- Remove now-duplicate `indirectNestedCross` test case
Diffstat (limited to 'core/src/main/scala')
-rw-r--r-- | core/src/main/scala/mill/define/Cross.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/mill/define/Cross.scala b/core/src/main/scala/mill/define/Cross.scala index 58f9a158..8af8e2e3 100644 --- a/core/src/main/scala/mill/define/Cross.scala +++ b/core/src/main/scala/mill/define/Cross.scala @@ -55,7 +55,7 @@ class Cross[T](cases: Any*) case p: Product => p case v => Tuple1(v) } - val crossValues = c.productIterator.toList.reverse + val crossValues = c.productIterator.toList val relPath = ctx.segment match{ case Segment.Label(s) => ammonite.ops.empty / s case Segment.Cross(vs) => ammonite.ops.empty / vs.map(_.toString) |