aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-02-01 06:55:50 +0800
committerGitHub <noreply@github.com>2018-02-01 06:55:50 +0800
commit6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2 (patch)
tree5a7b3b1601cf34c14be2ba462f5fd2db711e1f2b /packages/abi-gen
parent75539bf67537f202bc1075b096fd70f64705867e (diff)
parent78fbf0f7bade62a3d1c36bddf20cbe89c86aac18 (diff)
downloaddexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.gz
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.bz2
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.lz
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.xz
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.zst
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.zip
Merge pull request #354 from 0xProject/feature/tslint-config/underscore-protected-members
Modify lint rules to enforce underscore for protected members
Diffstat (limited to 'packages/abi-gen')
-rw-r--r--packages/abi-gen/CHANGELOG.md1
-rw-r--r--packages/abi-gen/src/index.ts6
2 files changed, 5 insertions, 2 deletions
diff --git a/packages/abi-gen/CHANGELOG.md b/packages/abi-gen/CHANGELOG.md
index 9247b315a..ffa8a7a35 100644
--- a/packages/abi-gen/CHANGELOG.md
+++ b/packages/abi-gen/CHANGELOG.md
@@ -1,6 +1,7 @@
# CHANGELOG
## v0.2.0 - _???_
+
* Added CLI options for explicit specifying location of partials and main template (#346)
## v0.1.0 - _January 11, 2018_
diff --git a/packages/abi-gen/src/index.ts b/packages/abi-gen/src/index.ts
index 5412d11ce..fe2b56524 100644
--- a/packages/abi-gen/src/index.ts
+++ b/packages/abi-gen/src/index.ts
@@ -42,8 +42,10 @@ const args = yargs
demandOption: true,
normalize: true,
})
- .example("$0 --abis 'src/artifacts/**/*.json' --out 'src/contracts/generated/' --partials 'src/templates/partials/**/*.handlebars' --template 'src/templates/contract.handlebars'", 'Full usage example')
- .argv;
+ .example(
+ "$0 --abis 'src/artifacts/**/*.json' --out 'src/contracts/generated/' --partials 'src/templates/partials/**/*.handlebars' --template 'src/templates/contract.handlebars'",
+ 'Full usage example',
+ ).argv;
function registerPartials(partialsGlob: string) {
const partialTemplateFileNames = globSync(partialsGlob);