Comments (4)
Thanks for the report!
I managed to reproduce the issue in Docker on Debian to make sure I have a clean situation with no artifacts, cache etc.
This error you get when macro cannot find derive.semi.conf
. I added a branch which you can use to confirm if this is the same error you have.
It appears that inside modules/catnip/.jvm/target/scala-2.12/classes
resource derive.semi.conf
is not copied from modules/catnip/.jvm/resources
. Why is it not copied? Because there is not such folder.
Thing is, sbt-cross-project doesn't allow you to share resources, only source code. I worked around it using symlinks- newer versions of git respect then and will recreate them on checkout. This is probably why it work on my computer (Arch Linux, git 2.19.0) but fails in repo environment (Debian, git 2.11.0). I wasn't aware how new this feature is, so I need to rethink my workaround...
Could you help mi figure if that is the issue you see? Basically check if modules/.jvm
and modules/.js
are missing resources
directory and that once you add symlink it compiles again.
from catnip.
@MateuszKubuszok yeah, the resources is missing. After switching branches I have a symlink pointing to
/home/dev/Workspaces/scalaland.io/catnip/modules/catnip/src/main/resources
So it's not working (on Windows :). I'll see if I can make it work on my machine, thanks.
from catnip.
@oleg-py, thanks! Ah, Windows :)
If I won't be able to figure anything better I will replace symlinks with copies. Though I would really prefer that sbt-cross-project supported resource sharing.
from catnip.
@oleg-py can you take a look if #8 fixes the problem for you?
from catnip.
Related Issues (9)
- Local imports and type aliases
- Add support for Scala 2.13 and cats 2.0.0 HOT 2
- "knownDirectSubclasses observed before subclass" when deriving for sealed trait HOT 1
- Update dependencies (scala-steward?)
- Cross-compile for Scala.js and other Scala versions
- Publish on Sonatype HOT 1
- Support cases where more type-classes are needed for type-parametrized derivation
- Add support for `cats.kernel.Hash` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catnip.