summaryrefslogtreecommitdiff
path: root/tools/build.sh
blob: 185fe7914222ac278331e108c0ab52a16c358251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

flavor=$1
shift 1

time (                                                                          \
    cd ~/src/ledger ;                                                           \
    PATH=/usr/local/bin:/opt/local/bin:$PATH                                    \
      nice -n 20 ./acprep $flavor --debug --python --doxygen make "$@" &&       \
    PATH=/usr/local/bin:/opt/local/bin:$PATH                                    \
      nice -n 20 ./acprep $flavor --debug --python --doxygen check "$@"         \
)