diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..070a39c --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +# main target +all: build-css build-go + +# build css with tailwind +build-css: + pnpm run tw:prod + +# build Go application +build-go: + go build -o ./build/potoforio ./cmd/main.go + +# cleans up prod css +clean-css: + rm -f ./static/styles.css + +# clean all +clean: clean-css + rm -f ./build/potoforio