diff options
author | Olaf Tomalka <olaf@tomalka.me> | 2018-01-31 21:24:20 +0800 |
---|---|---|
committer | Olaf Tomalka <olaf@tomalka.me> | 2018-01-31 21:24:20 +0800 |
commit | eaeb715e56bbb3243268ee5fd863cfd1f1211c39 (patch) | |
tree | f3a833bf8fc2cf1467bfc6c2a8bc02da87b87e2a | |
parent | fa35768fc9647c475f8132c6b431102a30b4efe1 (diff) | |
download | dexon-0x-contracts-eaeb715e56bbb3243268ee5fd863cfd1f1211c39.tar dexon-0x-contracts-eaeb715e56bbb3243268ee5fd863cfd1f1211c39.tar.gz dexon-0x-contracts-eaeb715e56bbb3243268ee5fd863cfd1f1211c39.tar.bz2 dexon-0x-contracts-eaeb715e56bbb3243268ee5fd863cfd1f1211c39.tar.lz dexon-0x-contracts-eaeb715e56bbb3243268ee5fd863cfd1f1211c39.tar.xz dexon-0x-contracts-eaeb715e56bbb3243268ee5fd863cfd1f1211c39.tar.zst dexon-0x-contracts-eaeb715e56bbb3243268ee5fd863cfd1f1211c39.zip |
Updated contract generation in 0x to new abi-gen CLI
-rw-r--r-- | packages/0x.js/contract_templates/contract.handlebars (renamed from packages/0x.js/contract_templates/contract.mustache) | 0 | ||||
-rw-r--r-- | packages/0x.js/contract_templates/partials/call.handlebars (renamed from packages/0x.js/contract_templates/partials/call.mustache) | 0 | ||||
-rw-r--r-- | packages/0x.js/contract_templates/partials/params.handlebars (renamed from packages/0x.js/contract_templates/partials/params.mustache) | 0 | ||||
-rw-r--r-- | packages/0x.js/contract_templates/partials/return_type.handlebars (renamed from packages/0x.js/contract_templates/partials/return_type.mustache) | 0 | ||||
-rw-r--r-- | packages/0x.js/contract_templates/partials/tx.handlebars (renamed from packages/0x.js/contract_templates/partials/tx.mustache) | 0 | ||||
-rw-r--r-- | packages/0x.js/contract_templates/partials/typed_params.handlebars (renamed from packages/0x.js/contract_templates/partials/typed_params.mustache) | 0 | ||||
-rw-r--r-- | packages/0x.js/package.json | 2 |
7 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/contract_templates/contract.mustache b/packages/0x.js/contract_templates/contract.handlebars index 3e501cce6..3e501cce6 100644 --- a/packages/0x.js/contract_templates/contract.mustache +++ b/packages/0x.js/contract_templates/contract.handlebars diff --git a/packages/0x.js/contract_templates/partials/call.mustache b/packages/0x.js/contract_templates/partials/call.handlebars index ef4bda724..ef4bda724 100644 --- a/packages/0x.js/contract_templates/partials/call.mustache +++ b/packages/0x.js/contract_templates/partials/call.handlebars diff --git a/packages/0x.js/contract_templates/partials/params.mustache b/packages/0x.js/contract_templates/partials/params.handlebars index ac5d4ae85..ac5d4ae85 100644 --- a/packages/0x.js/contract_templates/partials/params.mustache +++ b/packages/0x.js/contract_templates/partials/params.handlebars diff --git a/packages/0x.js/contract_templates/partials/return_type.mustache b/packages/0x.js/contract_templates/partials/return_type.handlebars index 383961a40..383961a40 100644 --- a/packages/0x.js/contract_templates/partials/return_type.mustache +++ b/packages/0x.js/contract_templates/partials/return_type.handlebars diff --git a/packages/0x.js/contract_templates/partials/tx.mustache b/packages/0x.js/contract_templates/partials/tx.handlebars index 8a43e5319..8a43e5319 100644 --- a/packages/0x.js/contract_templates/partials/tx.mustache +++ b/packages/0x.js/contract_templates/partials/tx.handlebars diff --git a/packages/0x.js/contract_templates/partials/typed_params.mustache b/packages/0x.js/contract_templates/partials/typed_params.handlebars index 3ea4b2e95..3ea4b2e95 100644 --- a/packages/0x.js/contract_templates/partials/typed_params.mustache +++ b/packages/0x.js/contract_templates/partials/typed_params.handlebars diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index fc0334dd0..22ccbbc2d 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -12,7 +12,7 @@ "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json", "generate_contract_wrappers": - "node ../abi-gen/lib/index.js --abiGlob 'src/artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --templates contract_templates --output src/contract_wrappers/generated", + "node ../abi-gen/lib/index.js --abis 'src/artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template contract_templates/contract.handlebars --partials 'contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated", "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", "test:circleci": "run-s test:coverage report_test_coverage", "test": "run-s clean test:commonjs", |