Skip to content

Commit

Permalink
add serve script & makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
remvn committed Sep 22, 2024
1 parent 3486f45 commit f89c458
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ clean:
@rm -rf ./public
@rm -rf ./resources
@echo "deleted public & resources"

serve:
@./serve-local.sh
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ go 1.23.0

require (
github.com/jpanther/congo/v2 v2.9.0 // indirect
github.com/remvn/hugo-vmoji v0.1.1 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/jpanther/congo/v2 v2.9.0 h1:mq1U8Zqw/F+9dk+AgH7W6Wl2M4LLiRP4v/BCTx4c01Y=
github.com/jpanther/congo/v2 v2.9.0/go.mod h1:1S7DRoO1ZYS4YUdFd1LjTkdyjQwsjFWd8TqSfz3Jd+M=
github.com/remvn/hugo-vmoji v0.1.1 h1:boq8S8rLfz5IGUwfzNKJaTwg0WMNTXgV2dF+rBGgqok=
github.com/remvn/hugo-vmoji v0.1.1/go.mod h1:3MtlvWg+Tw6xF7P3fosbrxh3nn/vEbb68TXMoBWyXVM=
5 changes: 5 additions & 0 deletions serve-local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

export HUGO_MODULE_REPLACEMENTS="github.com/remvn/blog -> .., github.com/remvn/hugo-vmoji -> /home/remvn/personal/hugo-vmoji"
echo $HUGO_MODULE_REPLACEMENTS
hugo serve

0 comments on commit f89c458

Please sign in to comment.