oc-catalog/Makefile

36 lines
642 B
Makefile
Raw Normal View History

.DEFAULT_GOAL := all
build: clean
bee pack
run:
bee run -gendoc=true -downdoc=true
2025-04-01 10:08:27 +02:00
purge:
lsof -t -i:8087 | xargs kill | true
2025-03-06 09:35:01 +01:00
run-dev:
2025-04-01 10:08:27 +02:00
bee generate routers && bee run -gendoc=true -downdoc=true
2025-03-06 09:35:01 +01:00
debug:
bee run -downdebug -gendebug
clean:
rm -rf oc-catalog.tar.gz
docker:
DOCKER_BUILDKIT=1 docker build -t oc/oc-catalog:0.0.1 -f Dockerfile .
docker tag oc/oc-catalog:0.0.1 oc/oc-catalog:latest
publish-kind:
kind load docker-image oc/oc-catalog:0.0.1 --name opencloud
publish-registry:
@echo "TODO"
all: docker publish-kind publish-registry
2025-04-01 10:08:27 +02:00
dev: purge run-dev
2025-03-06 09:35:01 +01:00
2025-04-01 10:08:27 +02:00
.PHONY: build run clean docker publish-kind publish-registry