aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: eade8904c96bc112247c3c263a62ebebf4b3ba1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
provision:
	cd ~/Junk \
	git clone https://git.sr.ht/~sircmpwn/openring \
	cd openring \
	go build \
	go install

dev:
	openring -l 165 -n 4 -p 1 \
		-s https://cronokirby.com/posts/index.xml \
		-s https://drewdevault.com/feed.xml \
		-s https://danluu.com/atom.xml \
		-s https://serokell.io/blog.rss.xml \
		< template/openring.tmpl \
		> template/openring-build.html
	alternator --watch

build:
	bash dither-images.sh
	mkdir -p public
	openring -l 165 -n 4 -p 1 \
		-s https://cronokirby.com/posts/index.xml \
		-s https://drewdevault.com/feed.xml \
		-s https://danluu.com/atom.xml \
		-s https://serokell.io/blog.rss.xml \
		< template/openring.tmpl \
		> template/openring-build.html

	alternator --build
	rm template/openring-build.html
	cp yapyap/* public/

deploy: build
	cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/