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
Francis Lavoie
71ce25d1a2
Prevent main Caddy module from upgrading from adding a plugin ( #93 )
...
* Prevent main Caddy module from upgrading from adding a plugin
Fixes #54
* Better comment
2022-04-07 17:07:11 -06:00
Francis Lavoie
7d6084b6d7
Emit main.go contents to log; update CI ( #95 )
...
* Log out main.go contents
* Ignore `caddy` binary when using `./xcaddy` for testing
* Update CI, switch linter to match Caddy repo
2022-04-07 16:33:47 -06:00
Mohammed Al Sahaf
58e714eb0e
run go get -d
at the end of prepping new env ( #92 )
2022-04-05 19:44:21 +03:00
jpughcs
b7fd102f41
Support go.mod replace version pinning ( #27 )
...
* support go.mod replace version pinning
* use string replace instead of regex
* Minor cleanups
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
2020-08-10 12:27:38 -06:00
Matthew Holt
1d18c5862c
Rename ModulePath -> PackagePath
...
Technically they are packages to be imported, not necessarily paths to
the containing Go module.
2020-07-15 17:45:32 -06:00
Matthew Holt
3742b72df8
Optionally skip cleanup; fix cgo when race detector enabled
2020-07-15 17:44:06 -06:00
Matthew Holt
8266ddc40e
Handle package import paths that are in subfolders of Go module path
2020-06-16 15:08:00 -06:00
Matthew Holt
1eaff742db
Disable timeouts by default, make configurable ( fix #15 )
2020-05-07 10:21:12 -06:00
Matthew Holt
fd8e902223
Support replacements and customizing the core version; update readme
2020-04-22 16:29:57 -06:00
Matthew Holt
681037f5e1
Fix arg syntax if version is omitted
2020-04-13 12:44:37 -06:00
Matthew Holt
dcc00b0892
Support context cancellation and cleanup
...
This should avoid leaving temporary build directories lingering after
Ctrl+C.
2020-04-13 12:22:23 -06:00
Matthew Holt
35c6866159
Improve exported API, update docs
2020-04-04 09:56:41 -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
Matthew Holt
40c0796cc2
Greatly lengthen exec timeouts... for now
2020-03-21 16:29:10 -06:00
Matthew Holt
362c34597d
Assume Caddy v2 if no semantic version is available
...
Useful if providing just a commit SHA
2020-03-21 16:27:26 -06:00
Matthew Holt
6004fc79b2
Initial commit
2020-03-21 14:31:29 -06:00