mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Some create_benchmark.py script enhancements (v3).
This patch is held at linterpoint. Here's the ransom.
This commit is contained in:
@@ -47,9 +47,8 @@ def create_benchmark_file(name):
|
|||||||
and places it in the `single-source` directory.
|
and places it in the `single-source` directory.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
template_path = create_relative_path("Template.swift")
|
|
||||||
file_text = ""
|
file_text = ""
|
||||||
|
template_path = create_relative_path("Template.swift")
|
||||||
with open(template_path, "r") as f:
|
with open(template_path, "r") as f:
|
||||||
file_text = "".join(f.readlines())
|
file_text = "".join(f.readlines())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user