feat: build for freebsd

resolves #4585
This commit is contained in:
Jan De Dobbeleer 2024-01-06 08:41:13 +01:00 committed by Jan De Dobbeleer
parent d0deea5fd5
commit 1d7f923af0
4 changed files with 6 additions and 1 deletions

View file

@ -23,6 +23,7 @@ builds:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm64

View file

@ -1,3 +1,5 @@
//go:build openbsd || freebsd
package battery
import (

View file

@ -1,3 +1,5 @@
//go:build openbsd || freebsd
package battery
import (

View file

@ -1,4 +1,4 @@
//go:build !darwin && !netbsd && !openbsd
//go:build !darwin && !netbsd && !openbsd && !freebsd
package battery