Pronoun card website and API https://pronouns.cc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
422 B

.PHONY: all
all: frontend css backend
mv api pronouns
.PHONY: migrate
migrate:
go run -v ./scripts/migrate
.PHONY: backend
backend: css
CGO_ENABLED=0 go build -v -o api -ldflags="-buildid= -X codeberg.org/u1f320/pronouns.cc/backend/server.Revision=`git rev-parse --short HEAD`" ./backend
.PHONY: frontend
frontend:
yarn build
.PHONY: css
css:
yarn tailwindcss -m -o frontend/style.css
.PHONY: dev
dev:
yarn dev