Skip to content

Commit

Permalink
Merge pull request #17 from fwcd/keep-building
Browse files Browse the repository at this point in the history
Keep building other packages after errors
  • Loading branch information
fwcd authored Aug 29, 2023
2 parents 675cc01 + ed5e1e0 commit 47eb049
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ for pkg in "${pkgs[@]}"; do
cd "$pkg"

# Build the package (and compress later to speed things up under emulation)
PKGDEST="$builddir" PKGEXT='.pkg.tar' makepkg -si --noconfirm --nocheck
if PKGDEST="$builddir" PKGEXT='.pkg.tar' makepkg -si --noconfirm --nocheck; then
echo "$pkg built successfully"
else
echo "::warning title={$pkg could not be built}::See the build logs for details"
fi

# Clean up the src and pkg directories to save space
rm -rf src pkg
Expand Down

0 comments on commit 47eb049

Please sign in to comment.