lune-packaging/test/aur/entrypoint.sh

20 lines
346 B
Bash
Raw Normal View History

2023-08-01 07:08:12 +01:00
#!/bin/sh
2023-08-01 07:20:50 +01:00
set -e
export CARGO_TERM_COLOR=always
2023-08-01 06:50:07 +01:00
declare -a aur_packages=("lune-bin" "lune-git" "lune")
root_dir=$(pwd)
for package in "${aur_packages[@]}"
do
2023-08-01 07:45:58 +01:00
echo "#############################"
echo "##### Building $package #####"
echo "#############################"
cd "$package" && makepkg -s || exit 1
2023-08-01 06:50:07 +01:00
cd "$root_dir"
done