using binary in project root instead
This commit is contained in:
parent
f398e4336d
commit
1efb3f5e69
3 changed files with 5 additions and 7 deletions
6
run.sh
6
run.sh
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue