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}
|
2022-06-20 08:46:42 +01:00
|
|
|
mkcontrib elevator-js node_modules/elevator.js/demo/music/*
|
2022-07-04 20:06:04 +01:00
|
|
|
mkcontrib shareon node_modules/shareon/dist/{shareon.iife.*,shareon.min.css*}
|
2022-07-04 20:27:08 +01:00
|
|
|
mkcontrib fira-code node_modules/firacode/distr/{fira_code.css,woff2,woff}
|
2022-07-26 09:04:14 +01:00
|
|
|
mkcontrib htmx node_modules/htmx.org/dist/{htmx.min.js,ext}
|
2022-09-02 17:18:40 +01:00
|
|
|
mkcontrib glightbox node_modules/glightbox/dist/css/*.min.*
|