blob: 772134b4e527f4ec0c8ffd20b916e728b7ca3ccc [file] [log] [blame]
Rich Lane6edc8ab2013-06-13 22:49:18 -07001#!/bin/bash -eux
2ROOTDIR=$(dirname $(readlink -f $0))
3cd "$ROOTDIR"
4
Andreas Wundsam377a2c22013-09-24 12:31:36 -07005ln -sf ../../.hooks/pre-commit .git/hooks/pre-commit
6make all check-all
Andreas Wundsamd0b06f42013-11-19 17:18:14 -08007
Andreas Wundsam77d04252013-11-20 11:02:45 -08008if [[ ${ARTIFACT_REPO_URL-} ]]; then
Andreas Wundsamd0b06f42013-11-19 17:18:14 -08009 ./.build/push-artifacts.sh ${ARTIFACT_REPO_URL}
10fi