mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
18 lines
302 B
Bash
Executable File
18 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rm integration-test httpx 2>/dev/null
|
|
cd ../cmd/httpx
|
|
go build
|
|
mv httpx ../../integration_tests/httpx
|
|
cd ../integration-test
|
|
go build
|
|
mv integration-test ../../integration_tests/integration-test
|
|
cd ../../integration_tests
|
|
./integration-test
|
|
if [ $? -eq 0 ]
|
|
then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|