weso / shex-s

Scala implementation of ShEx
http://www.weso.es/shex-s/
MIT License
5 stars 6 forks source link

Failure to test and build #577

Open despens opened 1 month ago

despens commented 1 month ago

Hello all,

I don't have experience with Scala, but was able to install both sbt and scala-cli with the correct JDK version 1.8, including javac.

However, it seems like code from the current master branch does not pass sbt test and cannot be compiled into a cli using scala-cli package . -o shexs -f (although I did activate the power option for sbt).

Is there any particular release or tagged version that you'd recommend using?

labra commented 1 month ago

It seems that there were some changes in scala-cli that now doesn't work as before.

While I take a look at it, you may be able to obtain a binary by running the following:

sbt universal:packageBin

And it will generate zip file in target/universal/shex-s-0.2.33.zip which contains the shex-s executable binary.

despens commented 1 month ago

@labra Thank you so much for this hint! Looking a bit more into sbt, I was even able to build a Linux package using sbt debian:packageBin which works beautifully.

I tried building a Windows executable as well, but that requires the WIX toolset which is painful to get working on Linux. Anyway, with the Rust port of shex-s on the horizon, these issues will become moot soon :)