aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorF. Eugene Aumson <feuGeneA@users.noreply.github.com>2018-09-25 00:36:26 +0800
committerF. Eugene Aumson <feuGeneA@users.noreply.github.com>2018-09-25 00:36:26 +0800
commitbd7565ceda1c54b51b601c0f6adf56161d7b6511 (patch)
treef0fc7e144e14f897af9e1ca2caee82a944dd2d68 /packages
parent880cd6e440c76d819cdb04d2971375cf9e0ea97b (diff)
downloaddexon-sol-tools-bd7565ceda1c54b51b601c0f6adf56161d7b6511.tar
dexon-sol-tools-bd7565ceda1c54b51b601c0f6adf56161d7b6511.tar.gz
dexon-sol-tools-bd7565ceda1c54b51b601c0f6adf56161d7b6511.tar.bz2
dexon-sol-tools-bd7565ceda1c54b51b601c0f6adf56161d7b6511.tar.lz
dexon-sol-tools-bd7565ceda1c54b51b601c0f6adf56161d7b6511.tar.xz
dexon-sol-tools-bd7565ceda1c54b51b601c0f6adf56161d7b6511.tar.zst
dexon-sol-tools-bd7565ceda1c54b51b601c0f6adf56161d7b6511.zip
fix: save v1 contract doc/deploy commands
For posterity, save commands needed to use sol-doc to generate and deploy documentation objects for v1 contracts.
Diffstat (limited to 'packages')
-rw-r--r--packages/sol-doc/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/sol-doc/package.json b/packages/sol-doc/package.json
index 500b1cbde..a3ded23f8 100644
--- a/packages/sol-doc/package.json
+++ b/packages/sol-doc/package.json
@@ -12,8 +12,10 @@
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"lint": "tslint --project . --format stylish",
"clean": "shx rm -rf lib",
+ "generate-v1-protocol-docs": "(cd ../contracts/src/1.0.0; node ../../../../node_modules/.bin/sol-doc --contracts-dir . --contracts Exchange/Exchange_v1.sol TokenRegistry/TokenRegistry.sol TokenTransferProxy/TokenTransferProxy_v1.sol) > v1.0.0.json",
"generate-v2-protocol-docs": "(cd ../contracts/src/2.0.0; node ../../../../node_modules/.bin/sol-doc --contracts-dir . --contracts $(cd protocol; ls -C1 */*.sol */interfaces/*.sol) ) > v2.0.0.json",
- "deploy-v2-protocol-docs": "aws --profile 0xproject s3 cp --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json v2.0.0.json s3://staging-doc-jsons/contracts/"
+ "deploy-v2-protocol-docs": "aws --profile 0xproject s3 cp --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json v2.0.0.json s3://staging-doc-jsons/contracts/",
+ "deploy-v1-protocol-docs": "aws --profile 0xproject s3 cp --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json v1.0.0.json s3://staging-doc-jsons/contracts/"
},
"bin": {
"sol-doc": "bin/sol-doc.js"