pyfedi/app/static/update_assets.sh

21 lines
902 B
Bash
Raw Permalink Normal View History

2024-07-02 00:27:34 -07:00
#!/usr/bin/env bash
# Compile SCSS
sass --style expanded styles.scss styles.css
# https://github.com/feimosi/baguetteBox.js (MIT license) (rimu: I commented this out as we have customised the JS and the original author is no longer making updates anyway)
# curl -o js/lightbox/baguetteBox.css -L https://github.com/feimosi/baguetteBox.js/raw/dev/dist/baguetteBox.min.css
# curl -o js/lightbox/baguetteBox.js -L https://github.com/feimosi/baguetteBox.js/raw/dev/dist/baguetteBox.min.js
2024-07-02 00:27:34 -07:00
# https://github.com/fatihege/downarea (MIT license)
2024-07-03 06:24:52 -07:00
curl -o js/markdown/downarea.css -L https://codeberg.org/PieFed/downarea2/raw/branch/main/src/downarea.css
curl -o js/markdown/downarea.js -L https://codeberg.org/PieFed/downarea2/raw/branch/main/src/downarea.js
2024-07-02 00:27:34 -07:00
# https://htmx.org/ (Zero-Clause BSD)
curl -o js/htmx.min.js -L https://unpkg.com/htmx.org@2.0.0
# ToDo: coolfieldset.js
# ToDo: Feather webfont