类似于示例here中的X11,我想确保已安装Inkscape。
我的公式中有depends_on :inkscape
会抛出
Error: kws: Unsupported special dependency :inkscape
这是不可能的还是错误?
答案 0 :(得分:1)
X11 is a special kind of dependency in Homebrew and Inkscape is not a standard formula but a cask.
If you want to depends on the cask Inkscape, you have to use the following syntax:
depends_on cask: 'inkscape'
Read Brew Formula: How can I define cask and external dependencies? for a complete answer.