Is it supposed to build and install caddy?

This issue has been created since 2021-03-04.
[email protected]:~$ xcaddy build \
> --with github.com/dunglas/mercure/caddy
2021/03/04 09:36:54 [INFO] Temporary folder: /tmp/buildenv_2021-03-04-0936.961939135
2021/03/04 09:36:54 [INFO] Writing main module: /tmp/buildenv_2021-03-04-0936.961939135/main.go
2021/03/04 09:36:54 [INFO] Initializing Go module
2021/03/04 09:36:54 [INFO] exec (timeout=10s): /usr/local/go/bin/go mod init caddy 
go: creating new go.mod: module caddy
go: to add module requirements and sums:
        go mod tidy
2021/03/04 09:36:54 [INFO] Pinning versions
2021/03/04 09:36:54 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/caddy/v2 
go get: added github.com/caddyserver/caddy/v2 v2.3.0
2021/03/04 09:36:58 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/dunglas/mercure/caddy 
go get: added github.com/dunglas/mercure/caddy v0.0.0-20210301202656-c5ccf9423bf5
2021/03/04 09:37:05 [INFO] Build environment ready
2021/03/04 09:37:05 [INFO] Building Caddy
2021/03/04 09:37:05 [INFO] exec (timeout=0s): /usr/local/go/bin/go mod tidy 
2021/03/04 09:37:05 [INFO] exec (timeout=0s): /usr/local/go/bin/go build -o /home/ubuntu/caddy -ldflags -w -s -trimpath 
2021/03/04 09:37:07 [INFO] Build complete: ./caddy
2021/03/04 09:37:07 [INFO] Cleaning up temporary folder: /tmp/buildenv_2021-03-04-0936.961939135
[email protected]:~$ which caddy
[email protected]:~$ whereis caddy
caddy:
[email protected]:~$ which xcaddy
/home/ubuntu/go_lang_builds/bin/xcaddy
[email protected]:~$ whereis xcaddy
xcaddy: /home/ubuntu/go_lang_builds/bin/xcaddy

[email protected]:~$ caddy vesrions
caddy: command not found


No caddy. What for this tool if you have to download binary manually anyway?

francislavoie wrote this answer on 2021-03-04

It outputs a caddy binary in the location you ran it. See the log output, it's located at /home/ubuntu/caddy. You'll need to move it to the appropriate location (often /usr/bin/caddy).

More Details About Repo
Owner Name caddyserver
Repo Name xcaddy
Full Name caddyserver/xcaddy
Language Go
Created Date 2020-03-21
Updated Date 2022-09-22
Star Count 381
Watcher Count 14
Fork Count 72
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Disc Control does not work with ZIP files when running Windows 3 2022-07-09 2022-09-26
night config not found errors on mc 1.18 2 2021-12-01 2022-07-04
getting synchronous frame using get_frame_generator(limit=10) 1 2021-10-06 2022-08-31
change the gain for Goldeye G-033 in python 1 2021-10-05 2022-08-18
column timestamp default current_timestamp does not work 1 2021-07-04 2022-09-02
Help with a Telegram bot... 1 2021-07-05 2022-09-13
Enable the optical disc drive 10 2019-03-17 2022-09-14
herbstclient dump/load using window class:instance? (Save/load states across reboots) 8 2021-06-14 2022-07-25
Storyboarder Appimage won't start 14 2021-02-28 2022-09-02
[WalletConnect] Show message when user have connected to an Dapp that exists as a Safe App 2 2021-10-18 2022-07-15
add fp variant amber/diff 0 2022-07-06 2022-09-25
add fp variant abacus 3 2022-07-06 2022-09-25
add fp variant pwmat 0 2022-07-06 2022-09-25
[Feature Request]Release DP-GEN v0.10.6 1 2022-07-07 2022-09-25
[CT-590] [Bug] Macro change not picked up by state:modified if macro is invoked after an unchanged macro (from a package) in the model code 1 2022-05-02 2022-09-26
🐛 Incorrect line numbers in side by side view 3 2021-12-02 2022-09-22
Multi Tenant implementation 1 2021-09-09 2022-09-15
Could not connect to Exact: Could not acquire or refresh tokens [http 400] 31 2021-08-19 2022-09-15
hlint fails with non-zero exit-code unless there are no hints 0 2022-06-22 2022-09-10
Dynamicuniformbuffer incorrect usage 9 2019-09-04 2022-09-14
[Select] Opt-out focus trap for select 1 2022-08-08 2022-09-21
Vncserver wont stay running using domain user account, local account works as expected 8 2021-10-11 2022-09-18
这个可以出一个 具体使用示例吗? 7 2021-11-18 2022-01-10
Speech bubble text speed is too slow and does not get overwritten by new messages 5 2022-01-30 2022-08-30
roadmap to v1.0 5 2020-07-05 2022-01-09
SVG symbols not found 3 2022-01-12 2022-09-22
请问同一网站拥有多个完全相同的本地适配源正常吗, 能删吗 1 2022-05-13 2022-08-14
Account: Allow to apply custom label/annotation on namespace 2 2021-02-17 2022-09-06
refactor boost::python to avoid long compilation times 3 2018-06-22 2022-09-26
HW MJPEG decode possible? 2 2018-06-28 2022-09-25
New guide on how to setup the build environment on a generic linux system 3 2018-08-30 2022-09-27
Is there a way to mock Minio Client in Golang Unit tests? 5 2021-05-31 2022-09-25
Bump pyparsing from 2.4.7 to 3.0.5 1 2021-11-08 2022-01-24
Propogate RuntimeSDK feature flag in docs 2 2022-04-06 2022-09-26
Add Test for Filter Parameter 4 2021-06-17 2022-09-04
depth map fusion algorithm principle 1 2021-10-09 2022-08-22
Tag based filtering on API details page - shows no tags 3 2022-08-25 2022-09-21
Version 3.27.0: CosmosLinqExtensions.ToFeedIterator() throw NullReferenceException when query predict has inline static member 4 2022-05-12 2022-09-27
Signup : Invalid field 'appType' specified 22 2022-09-03 2022-09-21
Error with publication of a Shiny App with R 0 2022-07-26 2022-09-05
nacos2.0.0集群关闭双写失败 2 2021-09-08 2022-01-20
GPU affinity sets different CPU masks when using the same NCCL_TOPO_FILE 3 2020-11-17 2022-09-28
2021: Update for reserved syntax (RFC 3101) 0 2021-07-09 2022-08-31
Spotify Integration - Additional Users Lack States 6 2021-12-11 2022-07-04
rp4 usb xhc init failed / xHc reset usbsts 1 2021-03-29 2022-09-06
Having trouble in azurerm_subscription_cost_management_export 2 2022-02-11 2022-09-25
fix(taiga_importer): ignore epic related user stories from another pr… 0 2021-02-11 2022-08-26
Sync-zoom multiple plots 0 2022-09-12 2022-09-08
Is this still being maintained? 10 2017-05-02 2022-09-01
auto-fill mode 1 2020-10-08 2021-12-29