diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-19 23:52:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-19 23:52:49 +0800 |
commit | b3978b641c12c7bfe9bab1d561384eeaace25321 (patch) | |
tree | 74f623d9ca80fe8b4a82ea9428655c3fe90711cb /contracts/utils | |
parent | 89ea7b2a2d4e3af995ee08988b64a617e7b89aee (diff) | |
parent | d456710441f5d126c63ae31003ddfffb2654047a (diff) | |
download | dexon-sol-tools-b3978b641c12c7bfe9bab1d561384eeaace25321.tar dexon-sol-tools-b3978b641c12c7bfe9bab1d561384eeaace25321.tar.gz dexon-sol-tools-b3978b641c12c7bfe9bab1d561384eeaace25321.tar.bz2 dexon-sol-tools-b3978b641c12c7bfe9bab1d561384eeaace25321.tar.lz dexon-sol-tools-b3978b641c12c7bfe9bab1d561384eeaace25321.tar.xz dexon-sol-tools-b3978b641c12c7bfe9bab1d561384eeaace25321.tar.zst dexon-sol-tools-b3978b641c12c7bfe9bab1d561384eeaace25321.zip |
Merge pull request #1461 from 0xProject/feature/sol-compiler-watch
Sol-compiler watch mode
Diffstat (limited to 'contracts/utils')
-rw-r--r-- | contracts/utils/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contracts/utils/package.json b/contracts/utils/package.json index a776bdfbb..cf94af0f6 100644 --- a/contracts/utils/package.json +++ b/contracts/utils/package.json @@ -19,7 +19,8 @@ "test:profiler": "SOLIDITY_PROFILER=true run-s build run_mocha profiler:report:html", "test:trace": "SOLIDITY_REVERT_TRACE=true run-s build run_mocha", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe 'lib/test/**/*.js' --timeout 100000 --bail --exit", - "compile": "sol-compiler --contracts-dir contracts", + "compile": "sol-compiler", + "watch": "sol-compiler -w", "clean": "shx rm -rf lib generated-artifacts generated-wrappers", "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../../node_modules/@0x/abi-gen-templates/contract.handlebars --partials '../../node_modules/@0x/abi-gen-templates/partials/**/*.handlebars' --output generated-wrappers --backend ethers", "lint": "tslint --format stylish --project . --exclude ./generated-wrappers/**/* --exclude ./generated-artifacts/**/* --exclude **/lib/**/* && yarn lint-contracts", |