Skip to content

Commit c62ef5e

Browse files
committed
major refractor separating certgraph into smaller packages and fixed the google CT driver
1 parent c04e1ea commit c62ef5e

12 files changed

Lines changed: 665 additions & 575 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ GIT_HASH := $(shell git rev-parse HEAD)
44
BUILD_FLAGS := -ldflags "-X main.git_date=$(GIT_DATE) -X main.git_hash=$(GIT_HASH)"
55

66
PLATFORMS := linux/amd64 linux/386 linux/arm darwin/amd64 windows/amd64 windows/386 openbsd/amd64
7-
SOURCES := certgraph.go google_ct.go
7+
SOURCES := $(shell find . -maxdepth 1 -type f -name "*.go")
8+
ALL_SOURCES = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
89

910
temp = $(subst /, ,$@)
1011
os = $(word 1, $(temp))
@@ -15,7 +16,7 @@ all: certgraph
1516

1617
release: $(PLATFORMS)
1718

18-
certgraph: $(SOURCES)
19+
certgraph: $(SOURCES) $(ALL_SOURCES)
1920
go build $(BUILD_FLAGS) -o $@ $(SOURCES)
2021

2122
$(PLATFORMS): $(SOURCES)

0 commit comments

Comments
 (0)