This package has been deprecated

Author message:

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

@truffle/workflow-compile
TypeScript icon, indicating that this package has built-in type declarations

4.0.71 • Public • Published

@truffle/workflow-compile

Core workflow logic for the truffle compile command behavior

install

$ npm install @truffle/workflow-compile

Usage

import Contracts from "@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

20

Version

4.0.71

License

MIT

Unpacked Size

31.9 kB

Total Files

16

Last publish

Collaborators

  • rizedr
  • kevinbluer
  • fainashalts
  • cds-amal