FE=pkg/frontend/frontend VER=$(shell git describe --always --tags) LDFLAGS=-ldflags='-X dynatron.me/x/blasphem/internal/common.Version=${VER}' all: build build: go build ${LDFLAGS} -o blas ./cmd/blas/ serve: go run ${LDFLAGS} ./cmd/blas/ serve ${BLAS_ARGS} # pkg/frontend/frontend/hass_frontend: frontend: ${FE}/script/setup ${FE}/script/build_frontend todo: rg -g '!Makefile' -g '!pkg/frontend/frontend/**' -A3 -C3 'XXX:|TODO:' . debug: dlv debug ./cmd/blas/ ${ARGS}