aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-07-13 01:06:04 +0800
committerchriseth <chris@ethereum.org>2017-07-14 03:47:29 +0800
commitd3b447c20368dab68636e79b893547757fdab8df (patch)
treeeee2540c21eff168e917e35e389a9063728209d3 /scripts
parent41e5b2c3c2a84f395da03bfd4cf5bf8586f9df3f (diff)
downloaddexon-solidity-d3b447c20368dab68636e79b893547757fdab8df.tar.gz
dexon-solidity-d3b447c20368dab68636e79b893547757fdab8df.tar.zst
dexon-solidity-d3b447c20368dab68636e79b893547757fdab8df.zip
Ignore the docs build directory.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/isolate_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/isolate_tests.py b/scripts/isolate_tests.py
index d075b07f..cfaef210 100755
--- a/scripts/isolate_tests.py
+++ b/scripts/isolate_tests.py
@@ -83,7 +83,9 @@ if __name__ == '__main__':
if len(sys.argv) > 2 and sys.argv[2] == 'docs':
docs = True
- for root, dir, files in os.walk(path):
+ for root, subdirs, files in os.walk(path):
+ if '_build' in subdirs:
+ subdirs.remove('_build')
for f in files:
path = join(root, f)
if docs: