mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-30 00:37:52 +03:00
29 lines
454 B
Bash
Executable File
29 lines
454 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
#ROOT_DIR=$(pwd)
|
|
|
|
rustup component add clippy
|
|
rustup component add rustfmt
|
|
|
|
cargo clippy --version
|
|
cargo fmt --version
|
|
cargo install cargo-deb
|
|
|
|
# Python/Flask
|
|
sudo apt-get install -y python3-pip
|
|
python3 -V
|
|
pip3 install Flask
|
|
(cd integration && python3 server.py&)
|
|
|
|
|
|
# Mitmproxy
|
|
wget https://snapshots.mitmproxy.org/5.2/mitmproxy-5.2-linux.tar.gz -O - | tar -xz
|
|
./mitmdump &
|
|
|
|
sleep 2
|
|
netstat -an | grep LISTEN | grep -E '8000|8080'
|
|
|
|
|