17 lines
280 B
Bash
Raw Normal View History

#!/bin/bash
cd ../v2/cmd/nuclei
go build
cp nuclei ../../../integration_tests/nuclei
cd ../integration-test
go build
cp integration-test ../../../integration_tests/integration-test
cd ../../../integration_tests
./integration-test
2021-02-27 12:42:35 +05:30
if [ $? -eq 0 ]
2021-02-27 12:59:26 +05:30
then
2021-02-27 12:42:35 +05:30
exit 0
else
exit 1
fi