File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -185,24 +185,9 @@ function buildForScalaVersion(){
185185 revertBuildPatch
186186 # # Sbt
187187 # # Apparently built.sbt is a valid build file name. Accept any .sbt file
188- elif ls repo/* .sbt 1> /dev/null 2>&1 ; then
189- echo " sbt project found: ${isSbtProject} "
190- echo " sbt" > $buildToolFile
191- $scriptDir /sbt/prepare-project.sh " $project " " $repoDir " " $scalaVersion " " $projectConfig "
192- createBuildPatch
193- $scriptDir /sbt/build.sh " $repoDir " " $scalaVersion " " $targets " " $mvnRepoUrl " " $projectConfig " " $extraScalacOptions " " $disabledScalacOptions " " $extraLibraryDeps "
194- revertBuildPatch
195- # # Scala-cli
196188 else
197- echo " Not found sbt or mill build files, assuming scala-cli project"
198- ls -l repo/
199- echo " scala-cli" > $buildToolFile
200- export COURSIER_REPOSITORIES=" central|sonatype:releases|$mvnRepoUrl "
201- scala-cli config power true
202- scala-cli bloop exit
203- scala-cli clean $scriptDir /scala-cli/
204- scala-cli clean repo
205- scala-cli $scriptDir /scala-cli/build.scala -- " $repoDir " " $scalaVersion " " $projectConfig " " $mvnRepoUrl " " $extraLibraryDeps " " $extraScalacOptions "
189+ echo " Ignoring non sbt build"
190+ echo " success" > build-status.txt
206191 fi
207192
208193 # # After build steps
You can’t perform that action at this time.
0 commit comments