Rich Lane | 6edc8ab | 2013-06-13 22:49:18 -0700 | [diff] [blame] | 1 | #!/bin/bash -eux |
| 2 | ROOTDIR=$(dirname $(readlink -f $0)) |
| 3 | cd "$ROOTDIR" |
| 4 | |
Andreas Wundsam | 377a2c2 | 2013-09-24 12:31:36 -0700 | [diff] [blame] | 5 | ln -sf ../../.hooks/pre-commit .git/hooks/pre-commit |
| 6 | make all check-all |
Andreas Wundsam | d0b06f4 | 2013-11-19 17:18:14 -0800 | [diff] [blame] | 7 | |
Andreas Wundsam | 77d0425 | 2013-11-20 11:02:45 -0800 | [diff] [blame] | 8 | if [[ ${ARTIFACT_REPO_URL-} ]]; then |
Andreas Wundsam | d0b06f4 | 2013-11-19 17:18:14 -0800 | [diff] [blame] | 9 | ./.build/push-artifacts.sh ${ARTIFACT_REPO_URL} |
| 10 | fi |