Add license, changelog, readme and example files to release zip

This commit is contained in:
Martin
2018-04-18 17:11:16 +02:00
parent 55f4dfe1d2
commit 3af5c82fd3

View File

@@ -41,9 +41,27 @@ done
rm test.out rm test.out
rm main.c rm main.c
cp ChangeLog.md amalgamation/
cp LICENSE amalgamation/
cp readme.md amalgamation/
mkdir -p amalgamation/examples
cp examples/* amalgamation/examples/
cd amalgamation cd amalgamation
! test -e miniz.zip || rm miniz.zip ! 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 .. cd ..
echo "Amalgamation created." echo "Amalgamation created."