summaryrefslogtreecommitdiff
path: root/web/create_site.bash
diff options
context:
space:
mode:
Diffstat (limited to 'web/create_site.bash')
-rw-r--r--web/create_site.bash10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/create_site.bash b/web/create_site.bash
new file mode 100644
index 0000000..b106d8c
--- /dev/null
+++ b/web/create_site.bash
@@ -0,0 +1,10 @@
1#!/bin/bash
2set -euxo pipefail
3
4# This script assumes that the current working directory is the repository
5# root.
6
7mkdir -p target
8cp -r web/static target/github-pages
9cargo doc --all-features
10cp -r target/doc target/github-pages/docs