Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/gitpod-protocol/go/generate-mock.sh
2498 views
1
#!/bin/bash
2
# Copyright (c) 2021 Gitpod GmbH. All rights reserved.
3
# Licensed under the GNU Affero General Public License (AGPL).
4
# See License.AGPL.txt in the project root for license information.
5
6
set -x
7
8
go install github.com/golang/mock/mockgen@v1.6.0
9
10
mockgen \
11
-package=protocol \
12
-self_package=github.com/gitpod-io/gitpod/gitpod-protocol \
13
-source=gitpod-service.go > mock.go_tmp > mock.go_tmp
14
15
mv mock.go_tmp mock.go
16
17
leeway run components:update-license-header
18
19