Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to test and build #577

Open
despens opened this issue Jul 22, 2024 · 2 comments
Open

Failure to test and build #577

despens opened this issue Jul 22, 2024 · 2 comments

Comments

@despens
Copy link

despens commented Jul 22, 2024

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
Copy link
Member

labra commented Jul 22, 2024

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
Copy link
Author

despens commented Jul 23, 2024

@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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants