Commit e900cbb9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f06ad2ed
......@@ -6,7 +6,7 @@ extends =
../git/buildout.cfg
../pkgconfig/buildout.cfg
parts = gowork
parts = go gowork
# ---- Go builds itself ----
......@@ -84,6 +84,18 @@ environment-extra =
#
# [gowork]
# buildflags = -race
#
# XXX ${go:exe}
[go]
recipe = slapos.recipe.template:jinja2
exe = ${buildout:bin-directory}/go
rendered= ${:exe}
mode = 755
template= inline:
#!/bin/sh -e
. ${gowork:env.sh}
exec go "$@"
[gowork]
directory = ${buildout:directory}/go.work
src = ${:directory}/src
......
......@@ -34,6 +34,7 @@ setup-eggs =
[wendelin.core-dev-env]
# wendelin.core-dev needs git to build
PATH = ${git:location}/bin:%(PATH)s
GO = ${go:exe}
[wendelin.core-repository]
......
......@@ -12,10 +12,15 @@ parts =
slapos-cookbook
instance.cfg
# XXX tmp
[wendelin.core-repository]
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