[gnome-bootstrap-theme] feat: add rtl from bootstrap
- From: Guillaume Bernard <gbernard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bootstrap-theme] feat: add rtl from bootstrap
- Date: Mon, 26 Sep 2022 10:53:49 +0000 (UTC)
commit fa4464b62df1e2e244abd72c622de8722d2e4102
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date: Mon Sep 26 12:53:45 2022 +0200
feat: add rtl from bootstrap
build_deneb_theme.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/build_deneb_theme.sh b/build_deneb_theme.sh
index 01d4d1c..b4c4e95 100755
--- a/build_deneb_theme.sh
+++ b/build_deneb_theme.sh
@@ -11,6 +11,10 @@ mkdir -p "${OUTPUT_DIRECTORY}"
sass -t expanded src/css/main.scss >"${OUTPUT_DIRECTORY}/deneb.${BOOTSTRAP_VERSION}.css"
sass -t compressed src/css/main.scss >"${OUTPUT_DIRECTORY}/deneb.${BOOTSTRAP_VERSION}.min.css"
+cp ./node_modules/bootstrap/dist/css/bootstrap.rtl.min.css
"${OUTPUT_DIRECTORY}/deneb.rtl.${BOOTSTRAP_VERSION}.min.css"
+cp ./node_modules/bootstrap/dist/css/bootstrap.rtl.min.css.map
"${OUTPUT_DIRECTORY}/deneb.rtl.${BOOTSTRAP_VERSION}.min.css.map"
+sed -i "s/bootstrap.rtl.min.css.map/deneb.rtl.${BOOTSTRAP_VERSION}.min.css.map/g"
"${OUTPUT_DIRECTORY}/deneb.rtl.${BOOTSTRAP_VERSION}.min.css"
+
# JS
cat ./node_modules/bootstrap/dist/js/bootstrap.bundle.js src/js/navbar-search-form.js
"${OUTPUT_DIRECTORY}/deneb.${BOOTSTRAP_VERSION}.js"
cp ./node_modules/bootstrap/dist/js/bootstrap.bundle.js.map
"${OUTPUT_DIRECTORY}/deneb.${BOOTSTRAP_VERSION}.js.map"
@@ -21,4 +25,4 @@ uglifyjs "${OUTPUT_DIRECTORY}/deneb.${BOOTSTRAP_VERSION}.js" -c -m -o "${OUTPUT_
cp -r ./node_modules/@fortawesome/fontawesome-free/webfonts "${OUTPUT_DIRECTORY}/webfonts"
# Finalise
-cp -r "${OUTPUT_DIRECTORY}" "./dist"
\ No newline at end of file
+cp -r "${OUTPUT_DIRECTORY}/" "./dist/"
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]