mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-24 07:20:40 +00:00
feat: allow builds for unix (#311)
This commit is contained in:
parent
b24fc4a422
commit
d7ab887234
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.18.8'
|
||||
go-version: '1.22.2'
|
||||
- name: Download Task
|
||||
run: 'sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d'
|
||||
- name: Build
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux darwin
|
||||
//go:build unix
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build darwin linux
|
||||
//go:build unix
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build darwin linux
|
||||
//go:build unix
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build darwin
|
||||
//go:build darwin
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux
|
||||
//go:build unix && !darwin
|
||||
|
||||
package main
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package main
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user