Skip to content

Commit 0153bdb

Browse files
pragnagopaelprans
authored andcommitted
Update keys to camelCase and support list of extensions (#177)
1 parent e05cda7 commit 0153bdb

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

.ci/appveyor_setup_worker.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ def main():
1414
shutil.copyfile(worker_src, worker_dir / 'worker.py')
1515
with open(worker_dir / 'worker.config.json', 'w') as f:
1616
json.dump({
17-
"Description": {
18-
"Language": "python",
19-
"Extension": ".py",
20-
"DefaultExecutablePath": sys.executable,
21-
"DefaultWorkerPath": "worker.py"
22-
},
23-
"Arguments": []
17+
"description": {
18+
"language": "python",
19+
"extensions": [".py"],
20+
"defaultExecutablePath": sys.executable,
21+
"defaultWorkerPath": "worker.py"
22+
}
2423
}, f)
2524

2625
print(worker_dir.parent)

python/worker.config.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"Description":{
3-
"Language":"python",
4-
"Extension":".py",
5-
"DefaultExecutablePath":"python",
6-
"DefaultWorkerPath":"worker.py"
7-
},
8-
"Arguments":[]
2+
"description":{
3+
"language":"python",
4+
"extensions":[".py"],
5+
"defaultExecutablePath":"python",
6+
"defaultWorkerPath":"worker.py"
7+
}
98
}

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616

1717
# TODO: change this to something more stable when available.
18-
WEBHOST_URL = ('https://ci.appveyor.com/api/buildjobs/0exdyn0sak341kea'
19-
'/artifacts/Functions.Binaries.2.0.11886-alpha.no-runtime.zip')
18+
WEBHOST_URL = ('https://ci.appveyor.com/api/buildjobs/nheu483rq96ssbst'
19+
'/artifacts/Functions.Binaries.2.0.12014-alpha.no-runtime.zip')
2020

2121
# Extensions necessary for non-core bindings.
2222
AZURE_EXTENSIONS = [

0 commit comments

Comments
 (0)