2
2
дзеркало https://github.com/Hilbis/Hilbish synced 2025-07-08 03:52:02 +00:00

Порівняти коміти

..

3 Коміти

Автор SHA1 Повідомлення Дата
bfa3b55542
chore: merge 2024-07-19 09:51:12 -04:00
f7e66bb957
docs: bump version requirement 2024-07-19 09:48:40 -04:00
d7ab887234
feat: allow builds for unix (#311) 2024-07-19 09:48:01 -04:00
13 змінених файлів з 13 додано та 13 видалено

2
.github/workflows/build.yml сторонній

@ -29,7 +29,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.18.8' go-version: '1.22.2'
- name: Download Task - name: Download Task
run: 'sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d' run: 'sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d'
- name: Build - name: Build

@ -36,7 +36,7 @@ on the website for distributed binaries from GitHub or other package repositorie
Otherwise, continue reading for steps on compiling. Otherwise, continue reading for steps on compiling.
## Prerequisites ## Prerequisites
- [Go 1.17+](https://go.dev) - [Go 1.22+](https://go.dev)
- [Task](https://taskfile.dev/installation/) (**Go on the hyperlink here to see Task's install method for your OS.**) - [Task](https://taskfile.dev/installation/) (**Go on the hyperlink here to see Task's install method for your OS.**)
## Build ## Build

@ -1,4 +1,4 @@
// +build linux darwin //go:build unix
package main package main

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main

@ -1,4 +1,4 @@
// +build darwin linux //go:build unix
package main package main

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main

@ -1,4 +1,4 @@
// +build pprof //go:build pprof
package main package main

@ -1,4 +1,4 @@
// +build darwin linux //go:build unix
package main package main

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main

@ -1,4 +1,4 @@
// +build darwin //go:build darwin
package main package main

@ -1,4 +1,4 @@
// +build linux //go:build unix && !darwin
package main package main

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main