diff options
author | AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> | 2020-05-23 23:47:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 15:47:26 -0700 |
commit | d96459aa05fd9bb8112beaad4dea462eee61e22c (patch) | |
tree | e56ad2353b344fe0fdcdba83148e7df7920663ad /projects/minify | |
parent | f301751aa5b4e5743435f76cf50e844c8cd33fca (diff) |
[minify] Moved build script upstream (#3867)
Diffstat (limited to 'projects/minify')
-rwxr-xr-x | projects/minify/build.sh | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/projects/minify/build.sh b/projects/minify/build.sh index ea6c7807..65d728c8 100755 --- a/projects/minify/build.sh +++ b/projects/minify/build.sh @@ -14,18 +14,4 @@ # limitations under the License. # ################################################################################ -function compile_fuzzer { - path=$1 - function=$2 - fuzzer=$3 - - go-fuzz -func $function -o $fuzzer.a $path - - $CXX $CXXFLAGS $LIB_FUZZING_ENGINE $fuzzer.a -o $OUT/$fuzzer -} - -find $GOPATH/src/github.com/tdewolff/minify/tests/*/ -maxdepth 1 -type d | while read target -do - fuzz_target=`echo $target | cut -d'/' -f 9` - compile_fuzzer github.com/tdewolff/minify/tests/$fuzz_target Fuzz $fuzz_target-fuzzer -done +$GOPATH/src/github.com/tdewolff/minify/tests/oss-fuzz-build.sh |