mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 06:58:50 +00:00
Initial commit
This commit is contained in:
18
scripts/make-public.py
Executable file
18
scripts/make-public.py
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
"""Makes public skeleton.
|
||||
"""
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import itertools
|
||||
import argparse
|
||||
import sys
|
||||
import re
|
||||
|
||||
if __name__ == "__main__":
|
||||
for fullname in os.listdir("src"):
|
||||
(filename, ext) = os.path.splitext(fullname)
|
||||
|
||||
if ext == ".public":
|
||||
os.rename(os.path.join("src", fullname), os.path.join("src", filename))
|
||||
Reference in New Issue
Block a user