Reputation: 10684
When looking at the pub spec format, i was curious if I can install other packages with pub get. My goal is to either install Ruby or some other tools. Even if i have command line access I could run python scripts or similar to get the code.
How does the dart package manager work in this sense? Would it be simpler to just wrap dart with npm or similar and then do all the installs in NPM and follow it up with pub get?
I am curious what the rest of the community is doing for non-dart dependency injection.
Part of me was thinking the executables flag, but i was not not sure.
Upvotes: 0
Views: 273
Reputation: 721
There's no support for this.
I have a command line tool called scripts
that you can use to run additional commands, but it's not an official Dart tool or anything.
https://pub.dartlang.org/packages/scripts
Upvotes: 1