From 8b287448d341e982d0075dc1d9205deb418eadf1 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 30 Dec 2023 20:02:30 -0800 Subject: [PATCH] Update module name --- Makefile | 50 -------------------------------------------------- go.mod | 2 +- 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index f2b7e61..0000000 --- a/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -appname := md2vim -sources := $(wildcard *.go) - -build = GOOS=$(1) GOARCH=$(2) go build -o build/$(appname)$(3) -tar = cd build && tar -cvzf $(appname)_$(1)_$(2).tar.gz $(appname)$(3) && rm $(appname)$(3) -zip = cd build && zip $(appname)_$(1)_$(2).zip $(appname)$(3) && rm $(appname)$(3) - -.PHONY: all windows darwin linux clean - -all: windows darwin linux - -clean: - rm -rf build/ - -# linux builds -linux: build/$(appname)_linux_arm.tar.gz build/$(appname)_linux_arm64.tar.gz build/$(appname)_linux_386.tar.gz build/$(appname)_linux_amd64.tar.gz - -build/$(appname)_linux_386.tar.gz: $(sources) - $(call build,linux,386,) - $(call tar,linux,386) - -build/$(appname)_linux_amd64.tar.gz: $(sources) - $(call build,linux,amd64,) - $(call tar,linux,amd64) - -build/$(appname)_linux_arm.tar.gz: $(sources) - $(call build,linux,arm,) - $(call tar,linux,arm) - -build/$(appname)_linux_arm64.tar.gz: $(sources) - $(call build,linux,arm64,) - $(call tar,linux,arm64) - -# darwin builds -darwin: build/$(appname)_darwin_amd64.tar.gz - -build/$(appname)_darwin_amd64.tar.gz: $(sources) - $(call build,darwin,amd64,) - $(call tar,darwin,amd64) - -# windows builds -windows: build/$(appname)_windows_386.zip build/$(appname)_windows_amd64.zip - -build/$(appname)_windows_386.zip: $(sources) - $(call build,windows,386,.exe) - $(call zip,windows,386,.exe) - -build/$(appname)_windows_amd64.zip: $(sources) - $(call build,windows,amd64,.exe) - $(call zip,windows,amd64,.exe) diff --git a/go.mod b/go.mod index 64ffae7..f838677 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module foosoft.net/projects/md2vim +module git.foosoft.net/alex/md2vim go 1.18