~emersion/soju-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH soju v2] Add dependencies on .go files in make rules

Details
Message ID
<20210427103108.3928-1-yyp@disroot.org>
DKIM signature
pass
Download raw message
Patch: +4 -2
Otherwise running `make` didn't do anything on a non-clean state.
---
Added go.mod and go.sum to SRC as well because they do require a
complete rebuild.

 Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 79face4..1aa4447 100644
--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,13 @@ PREFIX = /usr/local
BINDIR = bin
MANDIR = share/man

SRC = $(shell find -type f -name "*.go") go.mod go.sum

all: soju sojuctl doc/soju.1

soju:
soju: $(SRC)
	$(GO) build $(GOFLAGS) ./cmd/soju
sojuctl:
sojuctl: $(SRC)
	$(GO) build $(GOFLAGS) ./cmd/sojuctl
doc/soju.1: doc/soju.1.scd
	$(SCDOC) <doc/soju.1.scd >doc/soju.1
-- 
2.31.1

[soju/patches/.build.yml] build success

builds.sr.ht
Details
Message ID
<CAYFU27HK47R.25EHVZ2RJIY02@cirno>
In-Reply-To
<20210427103108.3928-1-yyp@disroot.org> (view parent)
DKIM signature
missing
Download raw message
soju/patches/.build.yml: SUCCESS in 1m40s

[Add dependencies on .go files in make rules][0] v2 from [Alexey Yerin][1]

[0]: https://lists.sr.ht/~emersion/soju-dev/patches/22352
[1]: yyp@disroot.org

✓ #496460 SUCCESS soju/patches/.build.yml https://builds.sr.ht/~emersion/job/496460
Reply to thread Export thread (mbox)