llvm-ir 0.1.1

LLVM IR in natural Rust data structures
1
2
3
4
5
6
7
8
9
10
11
#!/bin/zsh

# Requires ghp-import to be installed (e.g. via pip3)

cargo doc &&
echo "<meta http-equiv=refresh content=0;url=llvm_ir/index.html>" > target/doc/index.html &&
mkdir docs_temp &&
cp target/doc/*(.) docs_temp/ &&
cp -r target/doc/llvm_ir docs_temp/ &&
ghp-import -np docs_temp &&
rm -rf docs_temp