Commit d9999c7adffc8c5edbeae83129ee7cab0d7500b5

Parents: 931cd595117d96d8e49b045c475260c351c2d86d

From: Moritz Poldrack <git@moritz.sh>
Date: Thu Nov 9 14:17:05 2023 +0700

mk: correct go source elements

		

Stats

Makefile +2/-1

Changeset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
diff --git a/Makefile b/Makefile
index 41eb273c916e1ac6f7b65f06eb69485b83f68ee4..8d3639bbd67b54be10135d6907e9e100f10c0645 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 GO ?= $(shell which go)
-GOSRC := $(shell find . -type f -name '*.go' -print)
+GOSRC := $(shell find . -type f -name '*.go' -not -path "./repos/*" -print)
+GOSRC += go.mod go.sum
 GO_FLAGS ?= -buildmode=pie -v -trimpath
 GO_LDFLAGS ?=