mirror of
https://github.com/prymitive/karma
synced 2026-05-17 04:16:42 +00:00
Add make targets for handling vendor dir via manul
This will install manul and run allow to run all commands needed to maintain all vendor deps
This commit is contained in:
14
Makefile
14
Makefile
@@ -61,6 +61,20 @@ lint: .build/deps.ok
|
||||
test: lint bindata_assetfs.go
|
||||
@go test -cover `go list ./... | grep -v /vendor/`
|
||||
|
||||
.build/vendor.ok:
|
||||
go get github.com/kovetskiy/manul
|
||||
mkdir -p .build
|
||||
touch $@
|
||||
|
||||
.PHONY: vendor
|
||||
vendor: .build/vendor.ok
|
||||
manul -Crt
|
||||
manul -Irt
|
||||
|
||||
.PHONY: vendor-update
|
||||
vendor-update: .build/vendor.ok
|
||||
manul -Urt
|
||||
|
||||
#======================== asset helper targets =================================
|
||||
|
||||
ASSETS_DIR := $(CURDIR)/assets/static/managed
|
||||
|
||||
Reference in New Issue
Block a user