-
Notifications
You must be signed in to change notification settings - Fork 1
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
Wrapper source code aren't locateable #4
Comments
See dart-lang/sdk#36712. In general we don't have a solution for non-Dart source code or compiled binaries in packages yet. I'm working on it. If you are in Dart standalone mode and running in JIT ( Stay tuned on the SDK issue for a proper solution. |
What if we place the C wrapper source under |
Files were on Overall, what I've planned is, if this package is added as a dependency, people can run a command (just like |
Idea credits: ffigen (commit: ed21cf5392ab9980947d838d0432efa65582f67d), tflite_native Reference #4
Issue fixed :). Thank you @mannprerak2 and @dcharkes I got the idea from: https://github.com/dart-lang/ffigen/blob/ed21cf5392ab9980947d838d0432efa65582f67d/lib/src/find_resource.dart Other critical resources: |
When I was adding this library to another dart project from local file system, shell scripts and C/C++ source files from the
bin
folder were also accessible. The moment I switched togit
dependency, it stopped working.Current solution in my head: Use the dart file under bin to download necessary files from the repo and do it's job.
It will be great if there's a way to also include non-dart files in
bin
folder.The text was updated successfully, but these errors were encountered: