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

Make sbt clean error free #91

Open
metasim opened this issue Mar 14, 2024 · 1 comment
Open

Make sbt clean error free #91

metasim opened this issue Mar 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@metasim
Copy link
Contributor

metasim commented Mar 14, 2024

very minor...

sbt clean forwards errors from CMake subsystem. Would be nice to know that the native build artifacts got deleted propertly.

❯ sbt clean
...
[info] set current project to pdal-jni (in build file:/Users/sfitch/Coding/OSS/PDAL-Java/)
[error] CMakeFiles/pdaljni.2.6.dir/build.make:64: CMakeFiles/pdaljni.2.6.dir/compiler_depend.make: No such file or directory
[error] gmake[2]: *** No rule to make target 'CMakeFiles/pdaljni.2.6.dir/compiler_depend.make'.  Stop.
[error] gmake[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/pdaljni.2.6.dir/clean] Error 2
[error] gmake: *** [Makefile:142: clean] Error 2
@pomadchin
Copy link
Collaborator

That's unfortunately how CMake delivers clean message (https://github.com/sbt/sbt-jni/blob/979c1477087cf76ac33e9c07062a32a7bb063440/plugin/src/main/scala/com/github/sbt/jni/build/CMake.scala#L51-L56)

Wondering if its better to redirect it into the regular out / warning output.

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

No branches or pull requests

2 participants