~samhh/samhh.com

ref: 66ac37f01a3834ae8c8f6faa02fefbbc293eeaf8 samhh.com/makefile -rw-r--r-- 320 bytes
66ac37f0 — Sam A. Horvath-Hunt Arch -> NixOS 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SHELL := /usr/bin/env sh

.PHONY: dev
dev:
	hugo server --minify

.PHONY: build
build:
	rm -rf public
	openring \
		-s https://drewdevault.com/blog/index.xml \
		-s https://lexi-lambda.github.io/feeds/all.rss.xml \
		-s https://blog.ploeh.dk/rss.xml \
		< webring.html \
		> layouts/partials/webring.html
	hugo --minify