diff --git a/amalgamate.sh b/amalgamate.sh index 8c35ca5..eea63d4 100755 --- a/amalgamate.sh +++ b/amalgamate.sh @@ -41,9 +41,27 @@ done rm test.out rm main.c +cp ChangeLog.md amalgamation/ +cp LICENSE amalgamation/ +cp readme.md amalgamation/ +mkdir -p amalgamation/examples +cp examples/* amalgamation/examples/ + cd amalgamation ! test -e miniz.zip || rm miniz.zip -echo -e "miniz.c\nminiz.h" | zip -@ miniz +cat << EOF | zip -@ miniz +miniz.c +miniz.h +ChangeLog.md +LICENSE +readme.md +examples/example1.c +examples/example2.c +examples/example3.c +examples/example4.c +examples/example5.c +examples/example6.c +EOF cd .. echo "Amalgamation created."