oc-peer/Makefile

36 lines
640 B
Makefile
Raw Normal View History

2025-01-10 18:07:15 +01:00
.DEFAULT_GOAL := all
build: clean
bee pack
run:
bee run -gendoc=true -downdoc=true
2025-03-28 08:46:50 +01:00
purge:
lsof -t -i:8093 | xargs kill | true
run-dev:
bee generate routers && bee run -gendoc=true -downdoc=true -runmode=prod
dev: purge run-dev
2025-03-06 09:33:16 +01:00
2025-01-10 18:07:15 +01:00
debug:
bee run -downdebug -gendebug
clean:
rm -rf oc-peer.tar.gz
docker:
DOCKER_BUILDKIT=1 docker build -t oc/oc-peer:0.0.1 -f Dockerfile .
docker tag oc/oc-peer:0.0.1 oc/oc-peer:latest
publish-kind:
kind load docker-image oc/oc-peer:0.0.1 --name opencloud
publish-registry:
@echo "TODO"
all: docker publish-kind publish-registry
2025-03-28 08:46:50 +01:00
.PHONY: build run clean docker publish-kind publish-registry