diff options
| 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 |
| commit | e539bde6508ed58e2bbe046a9c1720fe9cf501d5 (patch) | |
| tree | 9aea7aef24f12a7985f1b4ca423e5ff5bf53fe64 /web/create_site.bash | |
| parent | d5662ab1302a612e52e92714aeca3eae8b8cf165 (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.bash | 10 |
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 | ||
| 2 | set -euxo pipefail | ||
| 3 | |||
| 4 | # This script assumes that the current working directory is the repository | ||
| 5 | # root. | ||
| 6 | |||
| 7 | mkdir -p target | ||
| 8 | cp -r web/static target/github-pages | ||
| 9 | cargo doc --all-features | ||
| 10 | cp -r target/doc target/github-pages/docs | ||
