gpt4 book ai didi

dart - 自定义 Dart 存储库?

转载 作者:行者123 更新时间:2023-12-03 03:29:34 26 4
gpt4 key购买 nike

Pub 是管理 Dart 项目依赖关系的绝佳工具。我想知道是否有任何可用的工具允许我们创建内部存储库并为公共(public)依赖项设置镜像,类似于 Maven 存储库管理器的操作方式(Nexus、Archiva 等)

我在网上搜索过,似乎 Pub 存储库站点的来源不是公开的。无论如何,当前 Pub 客户端中的依赖项查找可能已经硬连线到中央 Pub 存储库。

最佳答案

pub.dartlang.org 上的 Pub 服务器的源代码可在 github 上找到:https://github.com/dart-lang/pub-dartlang

这是一个 Python App Engine 应用程序,因此它并非完全设计为在本地运行,但它是一个起点。

Pub 还支持备用 pub 存储库。见:http://pub.dartlang.org/doc/pubspec.html#dependencies

关于dart - 自定义 Dart 存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14787821/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com