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


.PHONY: build 
build: 
	go run ./cmd/build

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

.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}