Skip to content

Commit

Permalink
Run extra checks on the outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
antonsviridov-src committed Aug 7, 2024
1 parent 6a53c05 commit 4a0a611
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 4a0a611

Please sign in to comment.