lune-packaging/test/aur/entrypoint.sh

20 lines
359 B
Bash
Raw Normal View History

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