mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-12-11 10:05:58 +03:00
5a562107f4
* Updating GH workflows + Sonar * adding missing step to build
22 lines
415 B
Bash
Executable File
22 lines
415 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "::group::Build httpx"
|
|
rm integration-test httpx 2>/dev/null
|
|
cd ../cmd/httpx
|
|
go build
|
|
mv httpx ../../integration_tests/httpx
|
|
echo "::endgroup::"
|
|
echo "::group::Build httpx integration-test"
|
|
cd ../integration-test
|
|
go build
|
|
mv integration-test ../../integration_tests/integration-test
|
|
cd ../../integration_tests
|
|
echo "::endgroup::"
|
|
./integration-test
|
|
if [ $? -eq 0 ]
|
|
then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|