mirror of
https://github.com/rafagafe/tiny-json.git
synced 2024-11-17 03:35:29 +00:00
cleanup
Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
parent
b691ff34ff
commit
792bacb2c7
@ -1,8 +1,6 @@
|
|||||||
FROM gcr.io/oss-fuzz-base/base-builder
|
FROM gcr.io/oss-fuzz-base/base-builder
|
||||||
RUN apt-get update && apt-get install -y make autoconf automake libtool cmake \
|
RUN apt-get update && apt-get install -y make autoconf automake libtool
|
||||||
pkg-config curl check
|
|
||||||
COPY . $SRC/tiny-json
|
COPY . $SRC/tiny-json
|
||||||
COPY .clusterfuzzlite/build.sh $SRC/build.sh
|
COPY .clusterfuzzlite/build.sh $SRC/build.sh
|
||||||
COPY .clusterfuzzlite/*.cpp $SRC/
|
|
||||||
COPY .clusterfuzzlite/*.c $SRC/
|
COPY .clusterfuzzlite/*.c $SRC/
|
||||||
WORKDIR tiny-json
|
WORKDIR tiny-json
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
find . -name "*.c" -exec $CC $CFLAGS -I./src -c {} \;
|
for file in "tiny-json.c"; do
|
||||||
find . -name "*.o" -exec cp {} . \;
|
$CC $CFLAGS -c ${file}
|
||||||
|
done
|
||||||
|
|
||||||
rm -f ./test*.o
|
|
||||||
llvm-ar rcs libfuzz.a *.o
|
llvm-ar rcs libfuzz.a *.o
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user