Commit 80292059 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 17445b1f
...@@ -63,10 +63,11 @@ environment-extra = ...@@ -63,10 +63,11 @@ environment-extra =
# gowork is a top-level section representing workspace # 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. # 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] # [gowork]
# install = # install =
# lab.nexedi.com/kirr/neo/go/... # lab.nexedi.com/kirr/neo/go/...
...@@ -112,6 +113,9 @@ buildflags = ...@@ -112,6 +113,9 @@ buildflags =
# empty pkg-config path by default # empty pkg-config path by default
cpkgpath = cpkgpath =
# by default don't `go install` anything
install =
# everything is done by dependent parts # everything is done by dependent parts
recipe = plone.recipe.command recipe = plone.recipe.command
command = : command = :
...@@ -136,8 +140,7 @@ update-command = ${:command} ...@@ -136,8 +140,7 @@ update-command = ${:command}
stop-on-error = true stop-on-error = true
# install go packages # install go packages
# clients should put package list to install to gowork:install ("..." requests installing everything) # clients can put package list to install to gowork:install ("..." requests installing everything)
# XXX empty by default
[gowork.goinstall] [gowork.goinstall]
recipe = plone.recipe.command 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' ' ')" 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 = ...@@ -17,10 +17,6 @@ parts =
repository = https://lab.nexedi.com/kirr/wendelin.core.git repository = https://lab.nexedi.com/kirr/wendelin.core.git
branch = t branch = t
# XXX tmp (gowork depends on gowork.goinstall)
[gowork]
install =
# python interpreter with wendelin.core and all other eggs. # python interpreter with wendelin.core and all other eggs.
[wendelin.core-dev] [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