Skip to content

Commit 8ba2f9c

Browse files
committed
fix: Github pages tooling
1 parent 312bf3e commit 8ba2f9c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ watch:
6060
)
6161

6262
clean:
63-
cd "{{root_dir}}" && rm -rf build && mkdir -p build && \
63+
cd "{{root_dir}}" && rm -rf build && mkdir -p build
6464

6565
# Present the presentation.
6666
present:

tools/prepare-gh-pages.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
# shellcheck disable=SC1090,SC1091
3+
set -e
4+
set -u
5+
6+
ROOT_DIR=$(git rev-parse --show-toplevel)
7+
8+
cd "$ROOT_DIR"
9+
just init
10+
rm -rf build/node_modules
11+
rm -rf docs/
12+
mv build docs

0 commit comments

Comments
 (0)