Skip to content

Commit

Permalink
ensure that baked shaders are not shipped with examples
Browse files Browse the repository at this point in the history
  • Loading branch information
e8johan committed Sep 24, 2021
1 parent bd6fad8 commit a57e955
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/package-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ for exdir in docs/*/src; do
for exexdir in *; do
# Skip build- dirs (created by Qt Creator)
if [[ $exexdir == build-* ]]; then
echo "Skipping $exexdir in $chname"
continue
fi
# Skip screenshots.qml file
if [[ $exexdir == "screenshots.qml" ]]; then
echo "Skipping $exexdir in $chname"
continue
fi

tar cf - $exexdir | (cd $tmpdir/qt6book/$chname; tar xfp -)
tar cf - --exclude=*.qsb $exexdir | (cd $tmpdir/qt6book/$chname; tar xfp -)
done
cd ../../..
done
Expand Down

0 comments on commit a57e955

Please sign in to comment.