logo

go-deblob

remove binary blobs from a directory
commit: b37658478c362c6a8ed70cd51cc0869dda96add3
parent: 521c874686a8384453fb0b4d761a50647587a68b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 12 Dec 2019 02:11:21 +0100

fix modules

Diffstat:

M.gitignore4++--
MMakefile11+++++++----
Mgo.mod2++
Ago.sum9+++++++++
4 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1 +1,2 @@ -/go-deblob- \ No newline at end of file +/go-deblob +/vendor diff --git a/Makefile b/Makefile @@ -6,11 +6,14 @@ MANDIR = $(PREFIX)/share/man EXE = go-deblob -all: go-build +all: $(EXE) -.PHONY: go-build -go-build: - go build +$(EXE): *.go go.mod go.sum + go build -mod=`ls -d vendor 2> /dev/null` -o $(EXE) + +.PHONY: clean +clean: + rm $(EXE) .PHONY: test test: diff --git a/go.mod b/go.mod @@ -1,3 +1,5 @@ module hacktivis.me/git/go-deblob go 1.12 + +require git.sr.ht/~sircmpwn/getopt v0.0.0-20190808004552-daaf1274538b diff --git a/go.sum b/go.sum @@ -0,0 +1,9 @@ +git.sr.ht/~sircmpwn/getopt v0.0.0-20190808004552-daaf1274538b h1:da5JBQ6dcW14aWnEf/pFRIMV2PsqTQEWmR+V2sw5oxU= +git.sr.ht/~sircmpwn/getopt v0.0.0-20190808004552-daaf1274538b/go.mod h1:wMEGFFFNuPos7vHmWXfszqImLppbc0wEhh6JBfJIUgw= +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=