hetty/Makefile

20 lines
356 B
Makefile
Raw Permalink Normal View History

2022-01-25 12:20:16 +00:00
export CGO_ENABLED = 0
export NEXT_TELEMETRY_DISABLED = 1
2022-02-01 17:12:44 +00:00
.PHONY: build
build: build-admin
go build ./cmd/hetty
2020-10-04 09:50:03 +00:00
2021-04-26 07:24:45 +00:00
.PHONY: build-admin
build-admin:
2022-01-25 12:20:16 +00:00
cd admin && \
yarn install --frozen-lockfile && \
yarn run export && \
mv dist ../cmd/hetty/admin
2022-02-01 17:12:44 +00:00
.PHONY: clean
clean:
rm -f hetty
rm -rf ./cmd/hetty/admin
rm -rf ./admin/dist
rm -rf ./admin/.next