Spaces:
Sleeping
Sleeping
Emil Ernerfeldt
commited on
Commit
•
b8bd752
1
Parent(s):
1602469
Link fixes
Browse files
scripts/template_update.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"""
|
5 |
The script has two purposes.
|
6 |
|
7 |
-
After using `
|
8 |
Use `scripts/template_update.py init --languages cpp,rust,python` for this.
|
9 |
|
10 |
Update an existing repository with the latest changes from the template.
|
@@ -108,7 +108,7 @@ def update(languages: set[str], dry_run: bool) -> None:
|
|
108 |
repo_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
109 |
|
110 |
with tempfile.TemporaryDirectory() as temp_dir:
|
111 |
-
Repo.clone_from("https://github.com/rerun-io/
|
112 |
for root, dirs, files in os.walk(temp_dir):
|
113 |
for file in files:
|
114 |
src_path = os.path.join(root, file)
|
|
|
4 |
"""
|
5 |
The script has two purposes.
|
6 |
|
7 |
+
After using `rerun_template` as a template, run this to clean out things you don't need.
|
8 |
Use `scripts/template_update.py init --languages cpp,rust,python` for this.
|
9 |
|
10 |
Update an existing repository with the latest changes from the template.
|
|
|
108 |
repo_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
109 |
|
110 |
with tempfile.TemporaryDirectory() as temp_dir:
|
111 |
+
Repo.clone_from("https://github.com/rerun-io/rerun_template.git", temp_dir)
|
112 |
for root, dirs, files in os.walk(temp_dir):
|
113 |
for file in files:
|
114 |
src_path = os.path.join(root, file)
|