Goit

Simple and lightweight Git web server
git clone http://git.omkov.net/Goit
Log | Tree | Refs | README | Download

AuthorJakob Wakeling <[email protected]>
Date2024-01-18 03:05:48
Commit813b687f0799ead13f2d7eb6982c2754659f826b
Parent778d467788ab9cebaa2c363dbafab8995ae70388

Automatically get module name in Makefile

Diffstat

M Makefile | 2 +-

1 files changed, 1 insertions, 1 deletions

diff --git a/Makefile b/Makefile
index df2fcb5..9ccdde7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 .PHONY: all build image test help
 all: help
 
-MODULE = "github.com/Jamozed/Goit"
+MODULE = "$(shell go list -m)"
 PROGRAM = "goit"
 VERSION ?= "dev"