1
0
Fork 0
mirror of https://github.com/Luzifer/mapshare.git synced 2024-11-14 15:52:42 +00:00
mapshare/ci/fontawesome.sh
2020-01-06 21:56:17 +01:00

13 lines
401 B
Bash

#!/bin/bash
set -euxo pipefail
# Ensure deletion of older version
rm -rf frontend/fontawesome
# Download and unpack fontawesome-free
curl -sSfLo frontend/fa.zip "https://use.fontawesome.com/releases/v${FA_VERSION}/fontawesome-free-${FA_VERSION}-web.zip"
unzip frontend/fa.zip -d frontend
rm frontend/fa.zip
# Move to generic path
mv frontend/fontawesome-free-${FA_VERSION}-web frontend/fontawesome