Exclude mocks from release build (#3831)

This commit is contained in:
6543
2024-06-25 12:23:07 +02:00
committed by GitHub
parent e2513fa4c8
commit 402938e216
12 changed files with 33 additions and 15 deletions

View File

@@ -1,5 +1,8 @@
// Code generated by mockery. DO NOT EDIT.
//go:build test
// +build test
package mocks
import (

View File

@@ -14,7 +14,7 @@
package store
//go:generate mockery --name Store --output mocks --case underscore
//go:generate mockery --name Store --output mocks --case underscore --note "+build test"
import (
"go.woodpecker-ci.org/woodpecker/v2/server/model"