summaryrefslogtreecommitdiff
path: root/docker/clang-tidy/run.sh
blob: 421aca9700d5694a50bfe1c5239911a1d1d105a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

set -e
set -o pipefail

./docker/build.sh

docker build -t mapbox/gl-native:clang-tidy docker/clang-tidy

docker run \
    -i \
    -v `pwd`:/home/mapbox/build \
    -t mapbox/gl-native:clang-tidy \
    build/docker/clang-tidy/tidy.sh