Add license, changelog, readme and example files to release zip
This commit is contained in:
parent
55f4dfe1d2
commit
3af5c82fd3
@ -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."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user