Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-12-30 22:20:05 +01:00
parent c8a22b5924
commit 5c2dcf5cec
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 16 additions and 0 deletions

15
Makefile Normal file
View file

@ -0,0 +1,15 @@
CGO_ENABLED ?= 0
GOFLAGS ?= -trimpath -ldflags="-s -w"
PROG ?= pomme
GO_SOURCES ?= $(shell find . -name "*.go" -type f ! -name '*_test*')
GO_TEST_SOURCES ?= $(shell find . -name "*_test.go" -type f)
all: frontend backend
.PHONY: frontend
frontend:
go generate ./...
backend: $(GO_SOURCES)
go build ./cmd/pomme

View file

@ -1,3 +1,4 @@
// Package frontend is where the frontend served by pomme comes from.
package frontend
import (