-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcleanup.sh
More file actions
24 lines (17 loc) · 861 Bytes
/
cleanup.sh
File metadata and controls
24 lines (17 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# Get the directory of this script.
script_dir=$(dirname "$0")
# Make sure the virtual environment is activated.
. $script_dir/env/bin/activate
# Echo commands from now on.
set -x
# https://pycqa.github.io/isort/
isort $script_dir/fuzzers $script_dir/src $script_dir/analyze_logs.py $script_dir/cluster_fuzzer.py $script_dir/generate_bitstream.py $script_dir/main_fuzzer.py
# https://black.readthedocs.io/en/stable/
black --target-version py310 --target-version py311 --target-version py312 --target-version py313 --target-version py314 $script_dir/fuzzers $script_dir/src $script_dir/analyze_logs.py $script_dir/cluster_fuzzer.py $script_dir/generate_bitstream.py $script_dir/main_fuzzer.py
# Update and build boofuzz from source.
cd $script_dir/boofuzz
git pull origin master
pip install .
# List all outdated packages.
pip list --outdated