This package has been deprecated

Author message:

WARNING: This package has been renamed to @truffle/workflow-compile.

truffle-workflow-compile

2.1.3 • Public • Published

truffle-workflow-compile

Core workflow logic for the truffle compile command behavior

install

$ npm install truffle-workflow-compile

Usage

const Contracts = require("truffle-workflow-compile");
 
// expected config object
const config = {
  contracts_directory: "/users/myPath/to/contracts", // dir where contracts are located
  contracts_build_directory: "/users/myPath/to/buildDir" // dir where contract artifacts will be saved
};
 
// compiles contracts found in contracts_directory,
// saves them in contracts_build_directory
Contracts.compile(config)
  .then(() => console.log("Compilation complete!"))
  .catch(e => console.error(e))

Readme

Keywords

none

Package Sidebar

Install

npm i truffle-workflow-compile

Weekly Downloads

13

Version

2.1.3

License

MIT

Unpacked Size

16.3 kB

Total Files

12

Last publish

Collaborators

  • rizedr
  • jeff.smale
  • kevinbluer
  • davidmurdoch
  • fainashalts
  • cds-amal
  • gnidan
  • tcoulter
  • benjamincburns