Add optional zip cmd to pack.c

This commit is contained in:
Sergey Lyubka committed 2022-02-12 14:28:02 +00:00
1 parent 4f802ece52
commit 3e8e2ab513
4 files changed
+43 -22

No files matched your search

+2 -2
View File
@@ -33,9 +33,9 @@ all: mg_prefix unamalgamated unpacked test test++ arm examples vc98 vc2017 mingw
examples:
@for X in $(EXAMPLES); do test -f $$X/Makefile || continue; $(MAKE) -C $$X example || exit 1; done
test/packed_fs.c: Makefile src/fs.h src/ssi.h test/fuzz.c test/data/a.txt
test/packed_fs.c:
$(CC) $(CFLAGS) test/pack.c -o pack
./pack $? > $@
./pack Makefile src/ssi.h test/fuzz.c test/data/a.txt -z 'gzip -c' test/data/range.txt > $@
# Check that all external (exported) symbols have "mg_" prefix
mg_prefix: mongoose.c mongoose.h