using binary in project root instead

This commit is contained in:
Rakarake 2026-04-05 22:48:57 +02:00
parent f398e4336d
commit 1efb3f5e69
3 changed files with 5 additions and 7 deletions

6
run.sh
View file

@ -1,8 +1,10 @@
#/bin/sh
cargo run -- html blogs/* > blog-tmp.html
cargo build && cp target/debug/mdf-blog . || true
./mdf-blog 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
./mdf-blog rss blogs/* > public/rss.xml