allegro/scripts/setup.sh

16 lines
500 B
Bash
Raw Normal View History

2022-08-01 15:38:27 +00:00
# Install the fonts we need for the covers.
if [ "x$CI" == "x" ]
then
echo "not in CI environment, not installing fonts"
else
echo "installing fonts"
mkdir -p ~/.local/share/fonts
cp $(nix-build --no-out-link '<nixpkgs>' -A source-serif-pro)/share/fonts/opentype/*.otf ~/.local/share/fonts
cp $(nix-build --no-out-link '<nixpkgs>' -A source-sans-pro)/share/fonts/opentype/*.otf ~/.local/share/fonts
fc-cache
fc-list | grep -i source
fi
echo "installing node packages"
npm install --ci