2022-06-12 19:42:15 +01:00
|
|
|
#!/usr/bin/env bash
|
2022-06-12 17:21:46 +01:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Make sure we're in the root of the project
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
|
|
|
|
CONTRIB_DIR=$PWD/static/build/contrib
|
|
|
|
|
2022-06-12 19:40:18 +01:00
|
|
|
rm -rf $CONTRIB_DIR
|
2022-06-12 17:21:46 +01:00
|
|
|
mkdir -p $CONTRIB_DIR
|
|
|
|
|
|
|
|
mkcontrib() {
|
|
|
|
mkdir -p $CONTRIB_DIR/$1
|
|
|
|
cp -r "${@:2}" $CONTRIB_DIR/$1/
|
|
|
|
}
|
|
|
|
|
|
|
|
mkcontrib fontawesome node_modules/@fortawesome/fontawesome-free/{css,webfonts}
|