Skip to content

Commit 11376cc

Browse files
committed
Use env and path injection instead of old style
1 parent c6207d8 commit 11376cc

File tree

2 files changed

+6
-26
lines changed

2 files changed

+6
-26
lines changed

config/pkg/target/go-xcaddy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,11 @@ go-xcaddy:
22
type: target
33
artifact:
44
binary: custom
5+
env:
6+
GOROOT: '{pkg_root_path}/go-xcaddy'
7+
GOBIN: '{pkg_root_path}/go-xcaddy/bin'
8+
GOPATH: '{pkg_root_path}/go-xcaddy/go'
9+
path@unix:
10+
- '{pkg_root_path}/go-xcaddy/bin'
511
static-bins:
612
- xcaddy

src/Package/Target/go_xcaddy.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)