aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/libs
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-19 23:52:49 +0800
committerGitHub <noreply@github.com>2018-12-19 23:52:49 +0800
commitb3978b641c12c7bfe9bab1d561384eeaace25321 (patch)
tree74f623d9ca80fe8b4a82ea9428655c3fe90711cb /contracts/libs
parent89ea7b2a2d4e3af995ee08988b64a617e7b89aee (diff)
parentd456710441f5d126c63ae31003ddfffb2654047a (diff)
downloaddexon-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/libs')
-rw-r--r--contracts/libs/compiler.json11
-rw-r--r--contracts/libs/package.json3
2 files changed, 12 insertions, 2 deletions
diff --git a/contracts/libs/compiler.json b/contracts/libs/compiler.json
index cf7c52a73..349d3063b 100644
--- a/contracts/libs/compiler.json
+++ b/contracts/libs/compiler.json
@@ -18,5 +18,14 @@
}
}
},
- "contracts": ["TestLibs", "LibOrder", "LibMath", "LibFillResults", "LibAbiEncoder", "LibEIP712"]
+ "contracts": [
+ "TestLibs",
+ "LibOrder",
+ "LibMath",
+ "LibFillResults",
+ "LibAbiEncoder",
+ "LibEIP712",
+ "LibAssetProxyErrors",
+ "LibConstants"
+ ]
}
diff --git a/contracts/libs/package.json b/contracts/libs/package.json
index fa4b6e523..ce7b97502 100644
--- a/contracts/libs/package.json
+++ b/contracts/libs/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",