oc-front/Makefile
2025-03-06 09:33:32 +01:00

33 lines
580 B
Makefile

.DEFAULT_GOAL := all
all: clean docker publish-kind publish-registry
linux:
./local_run.sh
linux-traefik:
flutter run -d linux --dart-define=AUTH_MODE=true
run:
flutter run
build:
flutter pub get
flutter build linux
flutter build web
clean:
rm -rf build/
flutter clean
docker:
DOCKER_BUILDKIT=1 docker build -t oc/oc-front:0.0.1 -f Dockerfile .
docker tag oc/oc-front:0.0.1 oc/oc-front:latest
publish-kind:
kind load docker-image oc/oc-front:0.0.1 --name opencloud
publish-registry:
@echo "TODO"
.PHONY: build run clean docker publish-kind publish-registry