unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob c9a8dba20836d863e465823f37da7a839f77d05c 793 bytes (raw)
name: bindings/go/Makefile 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
# Makefile for the go bindings of notmuch

GOPATH     ?= $(shell pwd)
export GOPATH

GO         ?= go
GOFMT      ?= gofmt

all: notmuch notmuch-addrlookup

.PHONY: notmuch
notmuch:
	$(GO) install notmuch

.PHONY: goconfig
goconfig:
	if [ ! -d src/github.com/kless/goconfig/config ]; then \
	    $(GO) get github.com/kless/goconfig/config; \
	fi

.PHONY: notmuch-addrlookup
notmuch-addrlookup: notmuch goconfig
	$(GO) install notmuch-addrlookup

.PHONY: format
format:
	$(GOFMT) -w=true $(GOFMT_OPTS) src/notmuch
	$(GOFMT) -w=true $(GOFMT_OPTS) src/notmuch-addrlookup

.PHONY: check-format
check-format:
	$(GOFMT) -d=true $(GOFMT_OPTS) src/notmuch
	$(GOFMT) -d=true $(GOFMT_OPTS) src/notmuch-addrlookup

.PHONY: clean
clean:
	$(GO) clean notmuch
	$(GO) clean notmuch-addrlookup
	rm -rf pkg bin

debug log:

solving c9a8dba ...
found c9a8dba in https://yhetil.org/notmuch/1335815744-15258-4-git-send-email-4winter@informatik.uni-hamburg.de/
found aba2d59 in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100644 aba2d5952b7840894ed1401c3854db767293ec04	bindings/go/Makefile

applying [1/1] https://yhetil.org/notmuch/1335815744-15258-4-git-send-email-4winter@informatik.uni-hamburg.de/
diff --git a/bindings/go/Makefile b/bindings/go/Makefile
index aba2d59..c9a8dba 100644

Checking patch bindings/go/Makefile...
Applied patch bindings/go/Makefile cleanly.

index at:
100644 c9a8dba20836d863e465823f37da7a839f77d05c	bindings/go/Makefile

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).