about summary refs log tree commit diff
path: root/tools/govanity/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-13 19:56:57 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-13 19:56:57 -0700
commit8dd0ed8f2d7bc6d0cc845b6e5dbd53588ede1ad6 (patch)
tree631a217e59a1bb993780ef8da8cd3164ef66335d /tools/govanity/Makefile
parentdrone: add a configuration (diff)
downloadworld-8dd0ed8f2d7bc6d0cc845b6e5dbd53588ede1ad6.tar.gz
remove unused Makefile
Diffstat (limited to 'tools/govanity/Makefile')
-rw-r--r--tools/govanity/Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/tools/govanity/Makefile b/tools/govanity/Makefile
deleted file mode 100644
index 6392551..0000000
--- a/tools/govanity/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-DOCKER := docker
-DOCKER_BUILD_ARGS :=
-DOCKER_IMAGE := fcuny/golang.fcuny.net
-DOCKER_IMAGE_REF := $(shell git rev-parse HEAD)
-DOCKERFILE := Dockerfile
-PROJECT_DIR := $(realpath $(CURDIR))
-
-.PHONY: docker-build docker-run worktree-clean server
-
-server:
-	@echo "Running server ..."
-	go run .
-
-worktree-clean:
-	git diff --exit-code
-	git diff --staged --exit-code
-
-docker-build:
-	@echo "Building Docker image ..."
-	$(DOCKER) build $(DOCKER_BUILD_ARGS) \
-		--tag "${DOCKER_IMAGE}:${DOCKER_IMAGE_REF}" \
-		--file "$(DOCKERFILE)" \
-		"$(PROJECT_DIR)"
-
-docker-run: docker-build
-	@echo "Running Docker image ..."
-	$(DOCKER) run -ti --rm -p 8080:8080 $(DOCKER_IMAGE):$(DOCKER_IMAGE_REF)