summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2021-07-16 22:28:01 +0300
committerGitHub <noreply@github.com>2021-07-16 12:28:01 -0700
commit18375122edc23a5ff9acc0c4f930357687ff24dd (patch)
tree39927468b169a91ee44fc9bdf01305bac19726da
parent88af50278a9bd36ae19a54151c2a3cf7a6f90023 (diff)
downloadbinaryen-18375122edc23a5ff9acc0c4f930357687ff24dd.tar.gz
binaryen-18375122edc23a5ff9acc0c4f930357687ff24dd.tar.bz2
binaryen-18375122edc23a5ff9acc0c4f930357687ff24dd.zip
Add DS_Store to non-executable filter in check.py (#3999)
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 774475614..f75ef50e0 100755
--- a/check.py
+++ b/check.py
@@ -42,7 +42,7 @@ def get_changelog_version():
def run_version_tests():
print('[ checking --version ... ]\n')
- not_executable_suffix = ['.txt', '.js', '.ilk', '.pdb', '.dll', '.wasm', '.manifest', 'binaryen-lit']
+ not_executable_suffix = ['.DS_Store', '.txt', '.js', '.ilk', '.pdb', '.dll', '.wasm', '.manifest', 'binaryen-lit']
bin_files = [os.path.join(shared.options.binaryen_bin, f) for f in os.listdir(shared.options.binaryen_bin)]
executables = [f for f in bin_files if os.path.isfile(f) and not any(f.endswith(s) for s in not_executable_suffix)]
executables = sorted(executables)