add: clang to compiler list

did i even have to?
This commit is contained in:
kevinnls
2021-04-05 22:25:08 +05:30
parent 77ad5e7dc6
commit 50a84ee248

View File

@@ -20,8 +20,8 @@ test_dir="${project_root}/dev/tests.d"
[[ ! -d "${test_dir}" ]] && mkdir -p "${test_dir}" [[ ! -d "${test_dir}" ]] && mkdir -p "${test_dir}"
src_dir="${project_root}/src" src_dir="${project_root}/src"
c_compilers=('gcc') c_compilers=('gcc' 'clang')
cpp_compilers=('g++') cpp_compilers=('g++' 'clang')
_oname="${project_name:0:5}-${project_version}~test" _oname="${project_name:0:5}-${project_version}~test"
oname="$test_dir/${output:-${_oname}}" oname="$test_dir/${output:-${_oname}}"
@@ -85,6 +85,7 @@ check_compilers(){
return 1 return 1
fi fi
} }
break
else else
continue continue
fi fi