3 ms·
> No private pub server. If you want to host Dart packages internal to your company locally; you're out of luck. You can store packages on a private git server
by xxgreg 12y ago
> No private pub server. If you want to host Dart packages internal to your company locally; you're out of luck.
You can store packages on a private git server, see the pubspec.yaml docs here:
https://www.dartlang.org/tools/pub/dependencies.html#git-packages https://www.dartlang.org/tools/pub/dependencies.html#git-pac...
It is also possible to run your own private pub server. But currently the only available implementation relies on AppEngine. According to the author it's possible to just implement the fetch protocol using static files served over HTTP. I.e. create some directories and put the json and tar.gz files in the correct places.
https://www.dartlang.org/tools/pub/dependencies.html#hosted-packages https://www.dartlang.org/tools/pub/dependencies.html#hosted-...
https://github.com/dart-lang/pub-dartlang/ https://github.com/dart-lang/pub-dartlang/