diff options
author | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-09-25 00:36:26 +0800 |
---|---|---|
committer | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-09-25 00:36:26 +0800 |
commit | bd7565ceda1c54b51b601c0f6adf56161d7b6511 (patch) | |
tree | f0fc7e144e14f897af9e1ca2caee82a944dd2d68 /packages | |
parent | 880cd6e440c76d819cdb04d2971375cf9e0ea97b (diff) | |
download | dexon-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.json | 4 |
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" |