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/interfaces | |
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/interfaces')
-rw-r--r-- | contracts/interfaces/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contracts/interfaces/package.json b/contracts/interfaces/package.json index 4d3e4b7f9..15385a154 100644 --- a/contracts/interfaces/package.json +++ b/contracts/interfaces/package.json @@ -10,7 +10,8 @@ "build": "yarn pre_build && tsc -b", "build:ci": "yarn build", "pre_build": "run-s compile generate_contract_wrappers", - "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", |