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

Support for SBT Crossproject #494

Open
Ivorforce opened this issue Feb 21, 2024 · 2 comments
Open

Support for SBT Crossproject #494

Ivorforce opened this issue Feb 21, 2024 · 2 comments

Comments

@Ivorforce
Copy link

Ivorforce commented Feb 21, 2024

Hi, I'm building an application for which I'd like to use the validator (and parser) of this project.

The application is in JS. Fortunately, scalajs exists which supposedly works pretty well.
I'm willing to write (and contribute) my own bindings, but to be able to compile this project it needs to have a JSPlatform compatible target.

This is where cross-project comes in:
https://github.com/portable-scala/sbt-crossproject

It's, I think, a pretty minimal addition to existing build.sbt files. Here's a random usage example. I'd try this myself but I noticed you didn't publish your build.stb files.

So yes, what do you think? Any chance of getting a JSPlatform target / crossproject support?

@sparkhi
Copy link
Contributor

sparkhi commented Feb 22, 2024

Hi @Ivorforce
We do not publish build.sbt because the project uses maven as a build tool and scala plugins for maven
Thanks

@Ivorforce
Copy link
Author

Ivorforce commented Feb 22, 2024

Ok, that makes things a lot harder.
I experimented today a bit with https://github.com/random-maven/scalor-maven-plugin, but I was unable to achieve results. In the end, it failed with xsbt.CompilerInterface, which I don't understand, but suggests some kind of incompatibility.

It would be very nice to have different bindings for the validator, since only java and java-backed cmd is a bit restrictive. For now, I'll have to give up on this project and use something else to describe and validate tabular data. I'm still interested, but I don't think I can make it work.

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