use build tag to support darwin again (#600)
fix https://ci.woodpecker-ci.org/woodpecker-ci/woodpecker/build/3344/11 Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/600 Reviewed-by: John Olheiser <john+gitea@jolheiser.com> Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
cc14c63ccc
commit
a0127ed0e7
3 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
||||||
// Use of this source code is governed by a MIT-style
|
// Use of this source code is governed by a MIT-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
//go:build !windows
|
||||||
|
|
||||||
package gitea
|
package gitea
|
||||||
|
|
||||||
import (
|
import (
|
|
@ -1 +0,0 @@
|
||||||
agent_linux.go
|
|
|
@ -2,6 +2,8 @@
|
||||||
// Use of this source code is governed by a MIT-style
|
// Use of this source code is governed by a MIT-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
//go:build windows
|
||||||
|
|
||||||
package gitea
|
package gitea
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in a new issue