Commit 80292059 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 17445b1f
......@@ -63,10 +63,11 @@ environment-extra =
# gowork is a top-level section representing workspace
#
# users should add `install` field to [gowork] to describe packages they want to
# users can optionally add `install` field to [gowork] to describe packages they want to
# be installed (+ automatically their dependencies are installed too). e.g.
#
# XXX install is optional (make empty by default)
# XXX explain how to build things if they are not in install (e.g. `go build` for a module)
#
# [gowork]
# install =
# lab.nexedi.com/kirr/neo/go/...
......@@ -112,6 +113,9 @@ buildflags =
# empty pkg-config path by default
cpkgpath =
# by default don't `go install` anything
install =
# everything is done by dependent parts
recipe = plone.recipe.command
command = :
......@@ -136,8 +140,7 @@ update-command = ${:command}
stop-on-error = true
# install go packages
# clients should put package list to install to gowork:install ("..." requests installing everything)
# XXX empty by default
# clients can put package list to install to gowork:install ("..." requests installing everything)
[gowork.goinstall]
recipe = plone.recipe.command
command = bash -c ". ${gowork:env.sh} && test -z '${gowork:install}' || go install ${gowork:buildflags} -v $(echo -n '${gowork:install}' |tr '\n' ' ')"
......
......@@ -17,10 +17,6 @@ parts =
repository = https://lab.nexedi.com/kirr/wendelin.core.git
branch = t
# XXX tmp (gowork depends on gowork.goinstall)
[gowork]
install =
# python interpreter with wendelin.core and all other eggs.
[wendelin.core-dev]
......
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