I want to modify the replacer to support escaped curly braces, but my changes don’t appear to be making it into the build. I’ve done the following:
Modify caddyhttp/httpserver/replacer.go
Modify caddy/caddymain/run.go to use my httpserver plugin instead of mholt’s
Commit and push changes to my GitHub fork
go get github.com/alanszlosek/caddy
cd ~/go/src/github.com/alanszlosek/caddy/caddy
go get github.com/caddyserver/builds
go run build.go
Test using the caddy exec in the current directory
What am I missing?
matt
(Matt Holt)
September 19, 2017, 2:57pm
2
Which files are you editing? The one in your fork or the one in the original repo? The contributing guide has some simple instructions for making changes to Caddy in preparation for a pull request. I hope that’ll be helpful.
1 Like
OH! Sorry, I totally overlooked the special workflow described in the contributing guide … attempting it now. Thanks.
system
(system)
Closed
December 18, 2017, 4:04pm
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.