mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-22 08:25:38 +00:00
Makefile: only build from vendored sources
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
47b137db03
commit
642d3ed36e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -66,7 +66,7 @@ CLEAN_FILES += .cli.test .cli.test.tags
|
||||||
build: $(BUILD)
|
build: $(BUILD)
|
||||||
|
|
||||||
$(BUILD): $(SOURCE_FILES)
|
$(BUILD): $(SOURCE_FILES)
|
||||||
go build -o $(BUILD) $(BUILDPATH)
|
go build -mod=vendor -o $(BUILD) $(BUILDPATH)
|
||||||
|
|
||||||
install.tools:
|
install.tools:
|
||||||
@go get -u github.com/fatih/color ; \
|
@go get -u github.com/fatih/color ; \
|
||||||
|
@ -85,7 +85,7 @@ build.arches: ./bin
|
||||||
p=$$(echo $$pair | cut -d , -f 1);\
|
p=$$(echo $$pair | cut -d , -f 1);\
|
||||||
a=$$(echo $$pair | cut -d , -f 2);\
|
a=$$(echo $$pair | cut -d , -f 2);\
|
||||||
echo "Building $$p/$$a ...";\
|
echo "Building $$p/$$a ...";\
|
||||||
GOOS=$$p GOARCH=$$a go build -o ./bin/gomtree.$$p.$$a $(BUILDPATH) ;\
|
GOOS=$$p GOARCH=$$a go build -mod=vendor -o ./bin/gomtree.$$p.$$a $(BUILDPATH) ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in a new issue