We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5cc489 commit 57812fcCopy full SHA for 57812fc
doc-tool/bootstrap-theme/build.sh
@@ -1,6 +1,16 @@
1
#!/bin/sh
2
cd "$(dirname "$0")"
3
+if [ ! -d "node_modules" ]; then
4
+ npm install
5
+fi
6
npm run build
-echo "Copying css file..."
7
+echo "Copying CSS result..."
8
cp target/bootstrap.min.css ../resources/css/bootstrap.min.css
-echo "Bootstrap css updated."
9
+
10
+# Update the generated website without running sbt
11
+gen_dir=../../docs/_site/css
12
+if [ -d "$gen_dir" ]; then
13
+ cp ../resources/css/* $gen_dir/
14
15
16
+echo "Bootstrap CSS updated."
0 commit comments