Inability to import resources #1509
Replies: 2 comments
-
My thought experiments led to several ideas. Here, compile-time means the span of time during which a jpm executable is compiled.
I don't know what janet maintainer wants or his vision of resource handling, but the first two ideas look good to me. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I haven't really digested the above in detail, but I wanted to point out a work-around / hack that might cover a case or two. This is not meant to discourage any efforts to provide a "proper" method, just an "in the meantime" kind of a thing (^^; In at least one project, I used So, it seems to me that if one didn't mind choosing a filename extension of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This issue exists whether JANET_PATH contains one path or multiple paths. If JANET_PATH is only one path, then one can use
syspath
which at least works after installation but still fails before installation.There are several ways to import resources.
Jpm library (declare-source)
Jpm executable (declare-executable)
Current situation
syspath
which doesn't work before installation and if JANET_PATH contains multiple paths.Beta Was this translation helpful? Give feedback.
All reactions