zef有一个--deps-only标志,用于只安装模块的依赖项的install子命令。
zef install --deps-only .这将安装depends对象中引用的META6.json中的所有模块。是否有类似的标志来安装test-depends对象中的META6.json中的所有模块?
发布于 2018-12-11 00:13:56
zef install . --deps-only --/depends --/build-depends --test-depends不需要末尾的--test-depends,但为了清晰起见,它包含在其中。--/depends跳过depends META6字段下的项,--/build-depends跳过build-depends META6字段下的项。
来自zef --help的相关比特
FLAGS
--deps-only Install only the dependency chains of the requested distributions
--/depends Do not fetch runtime dependencies
--/test-depends Do not fetch test dependencies
--/build-depends Do not fetch build dependencieshttps://stackoverflow.com/questions/53711269
复制相似问题