aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/justfile b/justfile
index fc29e00..74af962 100644
--- a/justfile
+++ b/justfile
@@ -58,3 +58,13 @@ compile-language locale:
# Extract new messages from the source files
extract-messages:
pybabel extract -F babel.cfg -o fietsboek/locale/fietslog.pot --input-dirs=fietsboek
+
+# Copy the assets from the NPM packages
+copy-npm-assets:
+ # Bootstrap
+ cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.js fietsboek/static/bootstrap.bundle.min.js
+ cp node_modules/bootstrap/dist/css/bootstrap.css fietsboek/static/bootstrap.css
+ # Bootstrap icons
+ cp node_modules/bootstrap-icons/font/bootstrap-icons.css fietsboek/static/bootstrap-icons.css
+ cp node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff fietsboek/static/fonts/bootstrap-icons.woff
+ cp node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2 fietsboek/static/fonts/bootstrap-icons.woff2