Package detail

@truffle/external-compile

trufflesuite3.6kMITdeprecated2.0.83

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Wrapper to compile Truffle contracts with arbitrary shell command

ethereum, smart-contract, truffle

readme

@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>"
      }]
    }
  }
}