Commit 11b99cd4 authored by Eteri's avatar Eteri

caddy: remove useless configuration

parent bcd1612a
[buildout]
extends =
../../component/golang/buildout.cfg
parts +=
caddy-repository
[git-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
[go-git-repository]
<= git-repository
repository = https://${:go.importpath}.git
location = ${gopath:src}/${:go.importpath}
[caddy-repository]
<= go-git-repository
go.importpath = github.com/mholt/caddy
revision = c4dfbb9956095c92d0586a52723748c070c7b459
recursive = true
\ No newline at end of file
[buildout]
extends =
../../component/caddy/buildout.cfg
../../component/golang/buildout.cfg
../../stack/slapos.cfg
gowork.cfg
......@@ -23,11 +23,6 @@ output =${buildout:directory}/instance.cfg
filename = instance.cfg
mode = 0644
[gopath]
directory = ${buildout:directory}/go.work
src = ${:directory}/src
bin = ${:directory}/bin
[template-caddyfile]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/Caddyfile.in
......@@ -51,12 +46,12 @@ mode = 0644
[caddy]
recipe = slapos.recipe.cmmi
path = ${caddy-repository:location}
path = ${go_github.com_mholt_caddy:location}
go = ${gowork:golang}/bin/go
configure-command = :
make-targets =
make-binary = cd ${:path}/caddy && ${:go} install -v
environment =
PATH=${pkgconfig:location}/bin:${gowork:golang}/bin:${buildout:bin-directory}:%(PATH)s
GOPATH=${gopath:directory}
output = ${gopath:bin}/caddy
\ No newline at end of file
GOPATH=${gowork:directory}
output = ${gowork:bin}/caddy
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment