summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7dd5d07db16b725304c6ebd4283ad27e80b55b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VERSION=0.0.1
DOCKER_IMAGE=a73xsh/home:${VERSION}

.PHONY: serve 
serve: 
	go run ./cmd/home

.PHONY: css
css:
	go run contrib/styles.go > public/static/syntax.css

.PHONY: image
image:
	docker build . -t ${DOCKER_IMAGE}

.PHONY: public
public: image
	docker push ${DOCKER_IMAGE}