From e881e80d6b793c2d29e472ae4b65bdf8e4363b87 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Fri, 15 May 2020 12:11:57 -0700 Subject: feat: testing directory to allow for easier tests of code --- bin/updateblddir | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 bin/updateblddir (limited to 'bin/updateblddir') 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) -- cgit v1.2.1