diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-04-24 11:15:04 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-04-24 11:15:04 -0400 |
| commit | 544ced362819ae9bd2abd9c12480f76945b368aa (patch) | |
| tree | 84695604c33c6266a65d63759e3474c9bd87892e /Makefile | |
| parent | 8dfec6a37d8adb55d500df1866901e3ee0d3c067 (diff) | |
| download | samanthony.xyz-544ced362819ae9bd2abd9c12480f76945b368aa.zip | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,11 @@ -MODS = themes/aoidh static/resume +MODS = $(shell git submodule | awk '{print $$2}') -build: ${MODS} static/resume.png +build: fmt ${MODS} static/resume.png hugo build + find public -name '*.html' -exec tidy -mqi {} \; + +fmt: + gotmplfmt -w . publish: build rsync -rz --delete public/ samanthony.xyz:/var/www/htdocs/samanthony.xyz/ @@ -20,3 +24,5 @@ static/resume.png: static/resume.pdf ${MODS}: git submodule update --init --recursive + +.PHONY: build fmt publish serve clean |