diff options
-rwxr-xr-x | ci.bash | 4 | ||||
-rwxr-xr-x | compile.bash | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -9,10 +9,12 @@ done DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" cd "${DIR}" || return +git checkout . +git reset --hard HEAD git pull # Weird pgrep fail with the complete binary name if pgrep -a do-not-directly|grep alchemy ; then echo "Aborting package build because Alchemy is running" exit 0 fi -makepkg --sync --install --noconfirm --needed +BUILDENV=(!distcc color !ccache check sign) makepkg --sync --install --noconfirm --needed diff --git a/compile.bash b/compile.bash index efaa08086aba..c837e8eabbd9 100755 --- a/compile.bash +++ b/compile.bash @@ -25,6 +25,12 @@ prepare() { pip3 install --no-cache --upgrade autobuild --quiet } +cleanbuild() +{ + rm -rf build-linux-64 + git pull --prune + build() +} build() { # we have a lot of files, relax ulimit to help performance if [[ -n "$USE_VENV" ]]; then |