UNPKG

@nomiclabs/buidler

Version:

Buidler is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

18 lines 635 B
/** * This module defines different Buidler execution modes and autodetects them. * * IMPORTANT: This will have to be revisited once Yarn PnP and npm's tink get * widely adopted. */ export declare enum ExecutionMode { EXECUTION_MODE_TS_NODE_TESTS = 0, EXECUTION_MODE_LINKED = 1, EXECUTION_MODE_GLOBAL_INSTALLATION = 2, EXECUTION_MODE_LOCAL_INSTALLATION = 3 } export declare function getExecutionMode(): ExecutionMode; /** * Checks whether we're using Buidler in development mode (that is, we're working _on_ Buidler). */ export declare function isLocalDev(): boolean; //# sourceMappingURL=execution-mode.d.ts.map