mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 17:54:07 +01:00
Exclude mocks from release build (#3831)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
package forge
|
||||
|
||||
//go:generate mockery --name Forge --output mocks --case underscore
|
||||
//go:generate mockery --name Forge --output mocks --case underscore --note "+build test"
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
// Code generated by mockery. DO NOT EDIT.
|
||||
|
||||
//go:build test
|
||||
// +build test
|
||||
|
||||
package mocks
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user