MM-14617 Dependency upgrades and adding modules support. (#10517)
* Dependency upgrades and adding modules support. * Commenting out file tests playload verification portion. * Fixing viper. * Fixing hclog.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
bd8a54bb08
Коммит
41d117c37b
15
Makefile
15
Makefile
@@ -560,6 +560,21 @@ nuke: clean clean-docker ## Clean plus removes persistant server data.
|
||||
setup-mac: ## Adds macOS hosts entries for Docker.
|
||||
echo $$(boot2docker ip 2> /dev/null) dockerhost | sudo tee -a /etc/hosts
|
||||
|
||||
update-dependencies: ## Uses go get -u to update all the dependencies while holding back any that require it.
|
||||
@echo Updating Dependencies
|
||||
|
||||
# Update all dependencies (does not update across major versions)
|
||||
go get -u
|
||||
|
||||
# Keep back because of breaking API changes
|
||||
go get -u github.com/segmentio/analytics-go@2.1.1
|
||||
|
||||
# Tidy up
|
||||
go mod tidy
|
||||
|
||||
# Copy everything to vendor directory
|
||||
go mod vendor
|
||||
|
||||
|
||||
todo: ## Display TODO and FIXME items in the source code.
|
||||
@! ag --ignore Makefile --ignore-dir vendor --ignore-dir runtime TODO
|
||||
|
||||
Ссылка в новой задаче
Block a user