diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-15 12:11:57 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-15 12:11:57 -0700 |
commit | e881e80d6b793c2d29e472ae4b65bdf8e4363b87 (patch) | |
tree | ca81576f4da93de1a6571da9fc0aa2d08a3ac497 /bin/updateblddir | |
parent | 66eb918a13b6607cc7bb615350a0e26f3670cd54 (diff) |
feat: testing directory to allow for easier tests of code
Diffstat (limited to 'bin/updateblddir')
-rwxr-xr-x | bin/updateblddir | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/updateblddir b/bin/updateblddir deleted file mode 100755 index 34f148d..0000000 --- a/bin/updateblddir +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/python - -import os - -ROOT = "/home/nolln/root" -SRC = "sys" -BUILD = "build" -IGNORED = ["build", "include", "lib", "bin", ".git", "vendor", "obj", "dep", ".generated"] - -if __name__ == "__main__": - for root, dirs, _ in os.walk(f"{ROOT}/{SRC}"): - dirs[:] = [d for d in dirs if d not in IGNORED] - blddir = f"{ROOT}/{BUILD}/{root[len(ROOT)+len(SRC)+2:]}" - if not os.path.exists(blddir): - os.mkdir(blddir) |