* feat: add zrok

* cleanup

* less stringent build deps

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
Nick Hehr 2023-11-22 07:06:39 -05:00 committed by GitHub
parent b5f4aa1b4c
commit 702c0e236a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,28 @@
distributable:
url: https://github.com/openziti/zrok/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
display-name: zrok
versions:
github: openziti/zrok
build:
dependencies:
go.dev: ^1.21
nodejs.org: ^21
npmjs.com: ^10
script:
- run: |
npm install
npm run build
working-directory: ui
- mkdir -p "{{prefix}}/bin"
- go build -o "{{prefix}}/bin" ./...
provides:
- bin/zrok
- bin/copyto
- bin/pastefrom
test: zrok version