aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 36278b62b27de39e0fc3c7bd07bf9efe6efa46c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
serve: build
	FEEDAKA_BASE_PATH="" FEEDAKA_PORT=8080 ./backend/feedaka

build:
	cd frontend && npm run check
	cd frontend && npm run build
	cd backend && go build -o feedaka main.go

fmt:
	cd frontend && npm run fmt
	cd backend && go fmt .

docker-build: fmt
	docker build -t feedaka .

.PHONY: build fmt serve docker-build