diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 214dbf93..0b1bac21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,7 +138,13 @@ jobs: mvn clean verify -DskipTests -Dscip-java.version=$SCIP_JAVA_VERSION sourcegraph:sourcegraphDependencies working-directory: examples/maven-example - - run: $SCIP_JAVA_CLI index-semanticdb target/semanticdb-root + - run: $SCIP_JAVA_CLI index-semanticdb target/semanticdb-targetroot + working-directory: examples/maven-example + + - run: | + set -e + grep org.hamcrest target/semanticdb-targetroot/dependencies.txt + grep $PWD/src/main/java target/semanticdb-targetroot/dependencies.txt working-directory: examples/maven-example - run: du -h index.scip diff --git a/build.sbt b/build.sbt index 3e0bdc8f..7549aee0 100644 --- a/build.sbt +++ b/build.sbt @@ -634,13 +634,12 @@ dumpScipJavaVersion := { IO.write((ThisBuild / baseDirectory).value / "VERSION", versionValue) } - lazy val build = taskKey[Unit]( "Build `scip-java` CLI and place it in the out/bin/scip-java. " ) build := { val source = (cli / pack).value - val newValue = (ThisBuild / baseDirectory).value / "out" - IO.copyDirectory(source, newValue) + val destination = (ThisBuild / baseDirectory).value / "out" + IO.copyDirectory(source, destination) }