Skip to content

Commit

Permalink
fix: generate thrift sources for scala client (apache#1662)
Browse files Browse the repository at this point in the history
apache#1663

Scala client depends on java client. Before java client is built, thrift sources
should be generated.
  • Loading branch information
empiredan authored and wangdan committed Nov 2, 2023
1 parent 16acad1 commit 28b0d13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java-client/scripts/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ cd ../


pushd scripts
echo "bash recompile_thrift.sh"
bash recompile_thrift.sh
echo "run recompile_thrift.sh"
./recompile_thrift.sh
popd
mvn spotless:apply

Expand Down
4 changes: 4 additions & 0 deletions scala-client/scripts/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck
git clone https://github.com/apache/incubator-pegasus.git
cd incubator-pegasus/java-client
git checkout master
cd scripts
echo "run recompile_thrift.sh"
./recompile_thrift.sh
cd ..
mvn clean package -DskipTests -Dcheckstyle.skip=true
mvn clean install -DskipTests -Dcheckstyle.skip=true
cd ..
Expand Down

0 comments on commit 28b0d13

Please sign in to comment.