一次保存多个蒙蒂塞洛包
我正在与 Pharo Smalltalk 合作。假设您要将自己的包组保存到本地存储库中,您知道您的包带有“MyPrefix”前缀。这样做的正确信息是什么?在代码中:
| myPkgs |
myPkgs := MCPackage allInstances select: [: mcPkg | mcPkg name beginsWith: 'MyPrefix' ].
myPkgs do: [ : myPkg | myPkg ??? ].
为基于 Web 的存储库编写脚本会不会太困难?
I am working with Pharo Smalltalk. Suppose you want to save your own group of packages into a local repository, you know that your packages are prefixed with "MyPrefix". What's the right message to do it? In code:
| myPkgs |
myPkgs := MCPackage allInstances select: [: mcPkg | mcPkg name beginsWith: 'MyPrefix' ].
myPkgs do: [ : myPkg | myPkg ??? ].
It would be too difficult to script that one for a web based repository?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
与加载或更新一组软件包的方式相同:
您可以在此博客文章中找到更多信息:Gofer — 蒙蒂塞洛和软件包组。
The same way as you load or update a group of packages:
More information you find in this blog post: Gofer — Monticello and Groups of Packages.