Skip to content

Commit 28fe658

Browse files
committed
Write to exercises.json on publish
1 parent 75cc473 commit 28fe658

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

create-exercise-directory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def main():
6464

6565
with open(OUTPUT_FILE, "w") as f:
6666
f.write(markdown)
67+
with open("exercises.json", "w") as of:
68+
of.write(json.dumps(tag_map, indent=2))
6769
print(f"Generated {OUTPUT_FILE} with {len(tag_map)} tags.")
6870

6971

0 commit comments

Comments
 (0)