tslint electron.d.ts
This commit is contained in:
parent
c2230ca76a
commit
7956d63e99
2 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
"browserify": "^13.1.0",
|
"browserify": "^13.1.0",
|
||||||
"electabul": "~0.0.4",
|
"electabul": "~0.0.4",
|
||||||
"electron-docs-linter": "^2.1.0",
|
"electron-docs-linter": "^2.1.0",
|
||||||
"electron-typescript-definitions": "^1.0.0",
|
"electron-typescript-definitions": "^1.0.1",
|
||||||
"request": "*",
|
"request": "*",
|
||||||
"standard": "^8.4.0",
|
"standard": "^8.4.0",
|
||||||
"standard-markdown": "^2.1.1"
|
"standard-markdown": "^2.1.1"
|
||||||
|
|
|
@ -153,6 +153,7 @@ def create_typescript_definitions():
|
||||||
outfile = os.path.relpath(os.path.join(DIST_DIR, 'electron.d.ts'))
|
outfile = os.path.relpath(os.path.join(DIST_DIR, 'electron.d.ts'))
|
||||||
execute(['electron-typescript-definitions', '--in={0}'.format(infile),
|
execute(['electron-typescript-definitions', '--in={0}'.format(infile),
|
||||||
'--out={0}'.format(outfile)], env=env)
|
'--out={0}'.format(outfile)], env=env)
|
||||||
|
execute(['tslint', outfile], env=env)
|
||||||
|
|
||||||
def strip_binaries():
|
def strip_binaries():
|
||||||
for binary in TARGET_BINARIES[PLATFORM]:
|
for binary in TARGET_BINARIES[PLATFORM]:
|
||||||
|
|
Loading…
Reference in a new issue