File: setup_codox.sh

package info (click to toggle)
prismatic-plumbing-clojure 0.5.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 368 kB
  • sloc: sh: 28; makefile: 25
file content (14 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e

# One-time script to setup codox deploy to github pages.
# https://github.com/weavejester/codox/wiki/Deploying-to-GitHub-Pages
cd `dirname $0`
cd ..

rm -rf doc && mkdir doc
git clone git@github.com:plumatic/plumbing.git doc
cd doc
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx