-
-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
I think currently multi-module workspaces do not seem to be supported, when I try to build caddy with one like this:
xcaddy --with example.net/testing/caddy-test/v1/core=/Users/silas/Workspace/testing/caddy-testWhile my caddy-test project contains this go.work file:
go 1.18
use (
./core // example.net/testing/caddy-test/v1/core
./state // example.net/testing/caddy-test/v1/state
)It fails with this:
2022/03/24 17:47:28 [INFO] Build environment ready
2022/03/24 17:47:28 [INFO] Building Caddy
2022/03/24 17:47:28 [INFO] exec (timeout=0s): /usr/local/bin/go mod tidy
go: finding module for package example.net/testing/caddy-test/v1/state/Users/silas/Workspace/testing/caddy-test
caddy imports
example.net/testing/caddy-test/v1/state/Users/silas/Workspace/testing/caddy-test: module example.net/testing/caddy-test/v1/state@latest found (v0.0.0-00010101000000-000000000000, replaced by /Users/silas/Workspace/testing/caddy-test/state), but does not contain package example.net/testing/caddy-test/v1/state/Users/silas/Workspace/testing/caddy-test
2022/03/24 17:47:30 [INFO] Cleaning up temporary folder: /Users/silas/Workspace/testing/caddy-test/buildenv_2022-03-24-1747.4263064286
2022/03/24 17:47:30 [ERROR] exit status 1mholt
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed