about summary refs log tree commit diff
path: root/users/fcuny/notes/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-11 12:22:05 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-11 12:22:05 -0700
commit3de7d59b2685ef89bf36f077ac30ea0734f16d92 (patch)
tree90502cd30a50c3e8488e60ed0292bbd251bd2189 /users/fcuny/notes/Makefile
parentnix: add more content (diff)
downloadworld-3de7d59b2685ef89bf36f077ac30ea0734f16d92.tar.gz
delete Makefile
This is not needed anymore.
Diffstat (limited to '')
-rw-r--r--users/fcuny/notes/Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/users/fcuny/notes/Makefile b/users/fcuny/notes/Makefile
deleted file mode 100644
index fbd1205..0000000
--- a/users/fcuny/notes/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-DOCKER := DOCKER_BUILDKIT=1 docker
-DOCKER_BUILD_ARGS :=
-DOCKER_IMAGE := fcuny/notes.fcuny.net
-DOCKER_IMAGE_REF := $(shell git rev-parse HEAD)
-DOCKERFILE := Dockerfile
-PROJECT_DIR := $(realpath $(CURDIR))
-
-.PHONY: server docker-build docker-run worktree-clean
-
-server:
-	@echo "Running hugo server ..."
-	hugo server
-
-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}"