Tamarin/hooks/containerbuild/marp-compiler/add-resources

14 lines
221 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -e
if [ -e './datasets/fonts' ]
then
for font_file in $(find . -wholename "./datasets/fonts/*.ttf")
do
echo 'COPY datasets/fonts/$font_file /root/.fonts/$font_file' >> Dockerfile
done
fi
exit 0