mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Call codegen crate in build script
This commit is contained in:
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# codegen
|
||||||
|
cd codegen
|
||||||
|
cargo run -- -o "../layouts/partials/recent-updates.html"
|
||||||
|
cd ..
|
||||||
|
|
||||||
git clone https://github.com/phil-opp/blog_os.git
|
git clone https://github.com/phil-opp/blog_os.git
|
||||||
cp -r blog_os/blog ../blog
|
cp -r blog_os/blog ../blog
|
||||||
./hugo
|
./hugo
|
||||||
|
|||||||
1
layouts/partials/recent-updates.html
Normal file
1
layouts/partials/recent-updates.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
Reference in New Issue
Block a user