mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-11-28 13:04:02 +03:00
19 lines
340 B
Bash
Executable File
19 lines
340 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
|
|
rm integration-test httpx 2>/dev/null
|
|
if [ $? -eq 0 ]
|
|
then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|