From c06d0f4e79edfe0a5ec650b2d2a8c1a441ed3226 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 12 Mar 2023 18:23:05 -0700 Subject: a CLI to update records for fcuny.xyz I want a simple solution to update the records for fcuny.xyz. The host that serves these records is a tailscale node, so I want to also query tailscale to get the IP for that host instead of hard coding the value. Some other information are hard coded, like the name of the project in GCP, etc. --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d69b7cb --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +BIN := dns-updater + +build: go.mod main.go ts.go + @go build -o $(BIN) + +.PHONY: clean +clean: + @rm -f "$(BIN)" -- cgit v1.2.3