makefile: add serve target to quickly preview changes
This commit is contained in:
parent
6c245c45b7
commit
1bc2fa4484
7
Makefile
7
Makefile
|
@ -17,5 +17,12 @@ gen:
|
|||
minify:
|
||||
@minify -r ./$(OUTPUT_DIR) -o .
|
||||
|
||||
.PHONY: serve
|
||||
serve: gen minify
|
||||
@podman run --rm -it \
|
||||
-p 8080:80 \
|
||||
-v ./$(OUTPUT_DIR):/usr/share/nginx/html:ro \
|
||||
docker.io/library/nginx:stable-alpine
|
||||
|
||||
.PHONY: bundle
|
||||
bundle: clean gen minify
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
<main>
|
||||
<h1>FollieHiyuki's personal web assets</h1>
|
||||
<p>
|
||||
Hi! Welcome to my "Content Delivery Network" <s>freeloading</s> running on Cloudflare. The files served here are used to power my websites, including
|
||||
<a href="https://www.folliehiyuki.com" rel="author noopener">folliehiyuki.com</a> and
|
||||
<a href="https://docs.folliehiyuki.com" rel="noopener">docs.folliehiyuki.com</a>. The source code is avaliable to see on
|
||||
Hi! Welcome to my <i>"Content Delivery Network"</i> <s>freeloading</s> running on Cloudflare. The files served here are used to power my websites, including my
|
||||
<a href="https://www.folliehiyuki.com" rel="author noopener">personal blog</a> and
|
||||
<a href="https://docs.folliehiyuki.com" rel="noopener">handbook</a>. The source code is avaliable to see on
|
||||
<a href="https://gitlab.com/FollieHiyuki/cdn" rel="noreferrer nofollow">GitLab</a>.
|
||||
</p>
|
||||
<h2>Packages</h2>
|
||||
|
|
Loading…
Reference in New Issue