gitpod/components/gitpod-protocol/go/generate-mock.sh
Manuel Alejandro de Brito Fontes 5eae8c5ed0 Update protoc and grpc dependencies
Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com>
2021-08-04 15:49:04 +02:00

18 lines
478 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2021 Gitpod GmbH. All rights reserved.
# Licensed under the GNU Affero General Public License (AGPL).
# See License-AGPL.txt in the project root for license information.
set -x
go get github.com/golang/mock/mockgen@v1.6.0
mockgen \
-package=protocol \
-self_package=github.com/gitpod-io/gitpod/gitpod-protocol \
-source=gitpod-service.go > mock.go_tmp > mock.go_tmp
mv mock.go_tmp mock.go
leeway run components:update-license-header