gitpod/components/gitpod-protocol/go/generate-mock.sh
2021-06-14 08:53:07 -04: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.5.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