Commit graph

30 commits

Author SHA1 Message Date
Matthew Holt e0ed12b135
readme: Add pro tip about manual builds 2022-10-05 18:49:31 -06:00
Matthew Holt e09becb9d1
Ignore vendor folder with mod=readonly 2022-09-30 11:26:05 -06:00
Francis Lavoie 0bd3c1dfd5
README: Add example for building from a github fork (#115) 2022-09-01 17:43:36 -06:00
Mohammed Al Sahaf e6eb334d4e
core: add XCADDY_GO_MOD_FLAGS env var to allow passing custom go mod flags (#113) 2022-08-16 21:27:48 +00:00
Aapo Keskimölö 47f9ded5d8
Add XCADDY_GO_BUILD_FLAGS env var (#104)
Add environment variable

 XCADDY_GO_BUILD_FLAGS

to override default build arguments from environment (#102).

To support flags with variable arguments Unix-style quoting is supported.
2022-06-20 13:20:05 -06:00
Francis Lavoie 9cc6040a09
chore: Fix Debian install instructions
See https://github.com/caddyserver/dist/issues/83 for context
2022-05-17 11:07:12 -04:00
Peter Magnusson 7abc7f5752
Do not use only hardcoded "go" (#97)
* fix: do not use only hardcoded "go"

* fixed comments and added env to readme

* move GetGo to an internal package

Co-authored-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2022-04-25 10:13:12 -06:00
Silas Rech 0b7d07c7a5
Add git ref documentation (#88)
Closes #87
2022-03-25 12:24:30 -06:00
Francis Lavoie c8b2d00673
docs: Update README to mention xcaddy version, cleanup (#71) 2021-09-03 19:36:13 -06:00
Ggicci 8c5d3f1cf6
Keep DWARF info by setting XCADDY_DEBUG=1 (#62)
* feat: add --debug option to build a debug output

* chore: renaming

* chore: update README

* fix: typo

* feat: introduce env XCADDY_DEBUG

* fix: remove unnecessary change
2021-07-03 17:57:17 -06:00
Matthew Holt 83655481bf
docs: Update readme install instructions 2021-02-22 13:16:27 -07:00
Francis Lavoie 891c8f95f9
docs: Add cloudsmith repo to install instructions (#49)
* docs: Add cloudsmith repo to install instructions

* Update README.md

* docs: Remove -a from tee
2021-02-22 13:14:46 -07:00
Kévin Dunglas 5734acdd58
Add XCADDY_SKIP_BUILD option (#41)
* feat: add XCADDY_NO_BUILD to not run go build

* Rename XCADDY_NO_BUILD to XCADDY_SKIP_BUILD

* fix rebase
2021-02-05 16:34:51 -07:00
Matthew Holt dabafeef18
Support setcap in dev mode (XCADDY_SETCAP)
When I first wrote xcaddy I was on macOS which does not
require permission to bind to low ports. Now I'm on Linux.

The XCADDY_SETCAP env var will cause xcaddy to run setcap
on the generated temporary binary before executing it
so that it can bind to low ports. This requires sudo.
2021-01-20 12:17:46 -07:00
Matthew Holt f74ee60bd8
Update readme, specify local binary when executing 2020-12-28 08:49:32 -07:00
Matthew Holt e11b1988bd
readme: Add env var docs 2020-07-16 16:07:50 -06:00
Matthew Holt 23d4e0a1ca
Fix env var name, update readme 2020-05-23 16:32:48 -06:00
Matthew Holt 4ce3d1db07
Add race detector support; update readme 2020-05-09 18:59:18 -06:00
Matthew Holt 446eab4eb6
Update readme 2020-05-02 18:22:59 -06:00
Jason Song 5edadff2c7
docs: update library usage (#8) 2020-04-28 11:07:59 -06:00
Matthew Holt 5a59fd84d5
Fix typo 2020-04-22 16:40:25 -06:00
Matthew Holt fd8e902223
Support replacements and customizing the core version; update readme 2020-04-22 16:29:57 -06:00
Matthew Holt 97dd3289b0
Improve docs 2020-04-07 18:56:30 -06:00
Matthew Holt 1095882d94
Fix readme example... again 2020-04-04 10:01:09 -06:00
Matthew Holt 35c6866159 Improve exported API, update docs 2020-04-04 09:56:41 -06:00
Ankur Srivastava 9933d7ffe7
added go-get instructions for xcaddy (#4)
Signed-off-by: Ankur Srivastava <ankur.srivastava@email.de>

Co-authored-by: Ankur Srivastava <ankur.srivastava@recogizer-analytics.com>
2020-04-02 09:05:25 -06:00
Matthew Holt f337ff945a
Update name to xcaddy 2020-04-02 08:35:27 -06:00
Matthew Holt 1cc8e08c16
Update CLI; change command to 'xcaddy'; update readme 2020-03-25 00:03:28 -06:00
Mohammed Al Sahaf 203ce92701
readme: ensure the example is valid Go (#1) 2020-03-21 16:13:31 -06:00
Matthew Holt 6004fc79b2
Initial commit 2020-03-21 14:31:29 -06:00