Skip to content

Commit b4adeaa

Browse files
authored
Merge pull request #368 from lucaslorentz/improve-modules
Add root module and remove plugin module
2 parents 500809a + ae7c332 commit b4adeaa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+125
-634
lines changed

README.md

Lines changed: 7 additions & 1 deletion

build.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,35 @@ set -e
55
echo ==PARAMETERS==
66
echo ARTIFACTS: "${ARTIFACTS:=./artifacts}"
77

8-
cd plugin
98
go vet ./...
109
go test -race ./...
11-
cd ../
1210

1311
go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
1412

1513
# AMD64
1614
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux \
1715
xcaddy build \
1816
--output ${ARTIFACTS}/binaries/linux/amd64/caddy \
19-
--with github.com/lucaslorentz/caddy-docker-proxy/plugin=$PWD/plugin
17+
--with github.com/lucaslorentz/caddy-docker-proxy/v2=$PWD
2018

2119
# ARM
2220
CGO_ENABLED=0 GOARCH=arm GOARM=6 GOOS=linux \
2321
xcaddy build \
2422
--output ${ARTIFACTS}/binaries/linux/arm/v6/caddy \
25-
--with github.com/lucaslorentz/caddy-docker-proxy/plugin=$PWD/plugin
23+
--with github.com/lucaslorentz/caddy-docker-proxy/v2=$PWD
2624

2725
CGO_ENABLED=0 GOARCH=arm GOARM=7 GOOS=linux \
2826
xcaddy build \
2927
--output ${ARTIFACTS}/binaries/linux/arm/v7/caddy \
30-
--with github.com/lucaslorentz/caddy-docker-proxy/plugin=$PWD/plugin
28+
--with github.com/lucaslorentz/caddy-docker-proxy/v2=$PWD
3129

3230
CGO_ENABLED=0 GOARCH=arm64 GOOS=linux \
3331
xcaddy build \
3432
--output ${ARTIFACTS}/binaries/linux/arm64/caddy \
35-
--with github.com/lucaslorentz/caddy-docker-proxy/plugin=$PWD/plugin
33+
--with github.com/lucaslorentz/caddy-docker-proxy/v2=$PWD
3634

3735
# AMD64 WINDOWS
3836
CGO_ENABLED=0 GOARCH=amd64 GOOS=windows \
3937
xcaddy build \
4038
--output ${ARTIFACTS}/binaries/windows/amd64/caddy.exe \
41-
--with github.com/lucaslorentz/caddy-docker-proxy/plugin=$PWD/plugin
39+
--with github.com/lucaslorentz/caddy-docker-proxy/v2=$PWD
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)