8 lines
180 B
Bash
Executable file
8 lines
180 B
Bash
Executable file
#/bin/sh
|
|
cargo run -- html blogs/* > blog-tmp.html
|
|
sed template.html -e '/INSERT_HERE/{
|
|
r blog-tmp.html
|
|
d
|
|
}' > public/index.html
|
|
cargo run -- rss blogs/* > public/rss.xml
|
|
|