dont apply license to stb_image.h and json.hpp

This commit is contained in:
jmorganca 2024-06-13 14:35:11 -07:00
parent 1da6c40f4f
commit 9b8b7cd9b5

View File

@ -98,7 +98,7 @@ $(sed 's/^/ * /' <$src_dir/LICENSE)
EOF
LICENSE_FILES=$(find $dst_dir -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.m" -o -name "*.metal" -o -name "*.cu" -o -name "*.cuh" \))
EXCLUDED_FILES=("sgemm.cpp" "sgemm.h" "sampling_ext.cpp" "sampling_ext.h" "metal.c")
EXCLUDED_FILES=("sgemm.cpp" "sgemm.h" "sampling_ext.cpp" "sampling_ext.h" "metal.c", "stb_image.h", "json.hpp")
for IN in $LICENSE_FILES; do
for EXCLUDED in "${EXCLUDED_FILES[@]}"; do