diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-04-19 10:06:21 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-04-19 10:06:21 -0700 |
commit | 5a25f38de6d3e2506838191c55af94cb56c9f641 (patch) | |
tree | 5dc6b2678fc76502c148c87c419c158680c3c4c5 /bin/update_dirs.py | |
parent | ef512a454184bfbcdf3ac6b295e9fb5bf7e26841 (diff) |
feat: quality of life scripts to initialize make rules
Diffstat (limited to 'bin/update_dirs.py')
-rwxr-xr-x | bin/update_dirs.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bin/update_dirs.py b/bin/update_dirs.py deleted file mode 100755 index 0f0e0f2..0000000 --- a/bin/update_dirs.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/python - -import os - -ROOT = "sys" -BUILD = "build" -IGNORED = ["build", "include", "lib", "bin", ".git", "vendor", "obj", "dep"] - -if __name__ == "__main__": - for root, dirs, _ in os.walk(ROOT): - dirs[:] = [d for d in dirs if d not in IGNORED] - blddir = f"{BUILD}/{root[len(ROOT)+1:]}" - if not os.path.exists(blddir): - os.mkdir(blddir) |