mirror of
https://github.com/Luzifer/sii.git
synced 2024-12-21 08:21:16 +00:00
20 lines
519 B
Bash
20 lines
519 B
Bash
#!/bin/bash
|
|
set -euxo pipefail
|
|
|
|
css_deps=(
|
|
npm/bootstrap@4/dist/css/bootstrap.min.css
|
|
npm/bootswatch@4/dist/darkly/bootstrap.min.css
|
|
npm/bootstrap-vue@2/dist/bootstrap-vue.min.css
|
|
)
|
|
|
|
js_deps=(
|
|
npm/vue@2/dist/vue.min.js
|
|
npm/bootstrap-vue@2/dist/bootstrap-vue.min.js
|
|
npm/axios@0.19.0/dist/axios.min.js
|
|
npm/moment@2.24.0/min/moment.min.js
|
|
)
|
|
|
|
IFS=','
|
|
|
|
curl -sSfLo frontend/combine.js "https://cdn.jsdelivr.net/combine/${js_deps[*]}"
|
|
curl -sSfLo frontend/combine.css "https://cdn.jsdelivr.net/combine/${css_deps[*]}"
|