truffle-external-compile

2019-08-15 admin

truffle-external-compile是什么

什么是truffle-external-compile,Wrapper to compile Truffle contracts with arbitrary shell command

truffle-external-compile使用教程帮助文档

truffle-external-compile

Package to enable Truffle to run arbitrary commands as part of compilation.

Configuration

In your Truffle config (truffle-config.js):

module.exports = {
  compilers: {
    external: {
      command: "<compilation-command>",
      targets: [{
        path: "<relative/globbed/path/to/outputs/*.output>",
        command: "<artifact-generation-command>"
      }]
    }
  }
}

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-72567.html

文章标题:truffle-external-compile

回到顶部