summaryrefslogtreecommitdiff
path: root/web/create_site.bash
diff options
context:
space:
mode:
authorÁrni Dagur <agudmundsson@fc-md.umd.edu>2020-05-24 02:57:26 -0400
committerÁrni Dagur <agudmundsson@fc-md.umd.edu>2020-05-24 02:57:26 -0400
commite539bde6508ed58e2bbe046a9c1720fe9cf501d5 (patch)
tree9aea7aef24f12a7985f1b4ca423e5ff5bf53fe64 /web/create_site.bash
parentd5662ab1302a612e52e92714aeca3eae8b8cf165 (diff)
Place a 'index.html' file at the root of Github Pages
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