summaryrefslogtreecommitdiff
path: root/evergreen/libdeps_run.sh
blob: ca019ee4265531ad9011130ded59101b73bcdb20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"

cd src

set -o errexit
set -o verbose

activate_venv
GRAPH_FILE=$(find build -name "libdeps.graphml")
python buildscripts/libdeps/analyzer_unittests.py
python buildscripts/libdeps/gacli.py --graph-file $GRAPH_FILE > results.txt
gzip $GRAPH_FILE
mv $GRAPH_FILE.gz .