mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
add "dep" command to makefile
hide vendor in gitignore
This commit is contained in:
parent
ff28d6670f
commit
79244f8ab3
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,4 +2,5 @@
|
|||||||
*~
|
*~
|
||||||
/bin/
|
/bin/
|
||||||
/pkg/tmp/
|
/pkg/tmp/
|
||||||
|
/vendor
|
||||||
!.git*
|
!.git*
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -6,6 +6,8 @@ IMAGE=docker-registry.bestbytes.net/contentserver
|
|||||||
all: build test
|
all: build test
|
||||||
tag:
|
tag:
|
||||||
echo $(TAG)
|
echo $(TAG)
|
||||||
|
dep:
|
||||||
|
go mod download && go mod vendor && go install -i ./vendor/...
|
||||||
clean:
|
clean:
|
||||||
rm -fv bin/contentserve*
|
rm -fv bin/contentserve*
|
||||||
build: clean
|
build: clean
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user