aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 05:14:44 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 05:14:44 +0800
commitc7a147f49d6e16e677eab5a9a70191720ec61963 (patch)
treee498537edd01e49eebaaa346275d6e7aae582315
parent20f6d8d3d0d7452bd4dc35c7c55b2cfc169216ca (diff)
downloaddexon-sol-tools-c7a147f49d6e16e677eab5a9a70191720ec61963.tar
dexon-sol-tools-c7a147f49d6e16e677eab5a9a70191720ec61963.tar.gz
dexon-sol-tools-c7a147f49d6e16e677eab5a9a70191720ec61963.tar.bz2
dexon-sol-tools-c7a147f49d6e16e677eab5a9a70191720ec61963.tar.lz
dexon-sol-tools-c7a147f49d6e16e677eab5a9a70191720ec61963.tar.xz
dexon-sol-tools-c7a147f49d6e16e677eab5a9a70191720ec61963.tar.zst
dexon-sol-tools-c7a147f49d6e16e677eab5a9a70191720ec61963.zip
Configure the compiler to generate artifacts with deployedBytecode
-rw-r--r--packages/sol-cov/compiler.json18
-rw-r--r--packages/sol-cov/package.json2
2 files changed, 19 insertions, 1 deletions
diff --git a/packages/sol-cov/compiler.json b/packages/sol-cov/compiler.json
new file mode 100644
index 000000000..a6a0c6d3a
--- /dev/null
+++ b/packages/sol-cov/compiler.json
@@ -0,0 +1,18 @@
+{
+ "contracts": ["SimpleStorage"],
+ "contractsDir": "test/fixtures/contracts",
+ "artifactsDir": "test/fixtures/artifacts",
+ "compilerSettings": {
+ "outputSelection": {
+ "*": {
+ "*": [
+ "abi",
+ "evm.bytecode.object",
+ "evm.bytecode.sourceMap",
+ "evm.deployedBytecode.object",
+ "evm.deployedBytecode.sourceMap"
+ ]
+ }
+ }
+ }
+}
diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json
index 4eb1147d7..425b561a6 100644
--- a/packages/sol-cov/package.json
+++ b/packages/sol-cov/package.json
@@ -14,7 +14,7 @@
"run_mocha": "mocha lib/test/**/*_test.js --exit",
"clean": "shx rm -rf lib scripts",
"build": "copyfiles 'test/fixtures/**/*' ./lib && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
- "compile_test": "node ../deployer/lib/src/cli.js compile --contracts SimpleStorage --contracts-dir test/fixtures/contracts --artifacts-dir test/fixtures/artifacts",
+ "compile_test": "node ../deployer/lib/src/cli.js compile",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "yarn build && node ./scripts/stage_docs.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",