fix indentation and rename function

This commit is contained in:
Zeke Sikelianos 2016-09-06 19:42:16 -07:00
parent 8d201ae1ad
commit 3d40c720dd

View file

@ -85,7 +85,7 @@ def main():
copy_chrome_binary('chromedriver')
copy_chrome_binary('mksnapshot')
copy_license()
copy_api_json()
copy_api_json_schema()
if PLATFORM == 'linux':
strip_binaries()
@ -129,8 +129,8 @@ def copy_license():
DIST_DIR)
shutil.copy2(os.path.join(SOURCE_ROOT, 'LICENSE'), DIST_DIR)
def copy_api_json():
shutil.copy2(os.path.join(OUT_DIR, 'electron-api.json'), DIST_DIR)
def copy_api_json_schema():
shutil.copy2(os.path.join(OUT_DIR, 'electron-api.json'), DIST_DIR)
def strip_binaries():
for binary in TARGET_BINARIES[PLATFORM]: