16 lines
467 B
Bash
Raw Normal View History

#!/bin/bash
echo "::group::Building functional-test binary"
2021-07-30 20:01:27 +05:30
go build
echo "::endgroup::"
2021-08-02 11:40:44 +05:30
echo "::group::Building Nuclei binary from current branch"
2021-08-02 12:12:22 +05:30
go build -o nuclei_dev ../nuclei
echo "::endgroup::"
2021-08-02 11:40:44 +05:30
echo "::group::Installing latest release of nuclei"
2021-10-16 01:05:13 +02:00
GO111MODULE=on go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
echo "::endgroup::"
2021-08-02 11:40:44 +05:30
echo 'Starting Nuclei functional test'
2021-08-02 12:12:22 +05:30
./functional-test -main nuclei -dev ./nuclei_dev -testcases testcases.txt