Skip to content

Commit

Permalink
build script shouldnt zip apkg
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikHuebner committed Apr 28, 2024
1 parent e95c19b commit 1c144de
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,9 @@ for dir in "${dirs[@]}"; do
echo "Building $dir"

# make deck
ankitum "./$dir" -o ./build/"$dir"/"${dir%.yaml}".apkg --debug
ankitum "./$dir" -o ./build/"${dir%.yaml}".apkg --debug
if [ $? -ne 0 ]; then
echo "Ankitum returned non zero exit code. Aborting..."
exit 1
fi

if [ -n "$(ls -A ./build/"$dir"/*.apkg 2>/dev/null)" ]; then
zip "./build/$dir.zip" "./build/$dir"/*.apkg
else
echo "Nothing to zip, skipping..."
fi
done

0 comments on commit 1c144de

Please sign in to comment.