summaryrefslogblamecommitdiff
path: root/ci/test-mill-built.sh
blob: 61fcf294c57221e4333b5a5debf7543f108363fd (plain) (tree)
1
2
3
4
5
6
7
8
9






                          
                       
                     
 
                      
                           
 
                                     
 
                                                                            

                                                                                                                             
                                        
#!/usr/bin/env bash

set -eux

# Starting from scratch...
git clean -xdf

# First build using SBT
sbt bin/test:assembly

# Build Mill using SBT
target/bin/mill devAssembly

# Second build & run tests using Mill

out/devAssembly/dest/out.jar all {main,scalalib,scalajslib}.test devAssembly
out/devAssembly/dest/out.jar integration.test mill.integration.local.AmmoniteTests
out/devAssembly/dest/out.jar integration.test "mill.integration.local.{AcyclicTests,BetterFilesTests,JawnTests,UpickleTests}"
out/devAssembly/dest/out.jar devAssembly