Commit a016a9ab authored by Ivan Tyagov's avatar Ivan Tyagov

Starting from...

Starting from nexedi/slapos.recipe.build@5e95d882 gitclone should have built-in support for submodules. Credit: Kirill.
parent 18e8a74a
Pipeline #8824 passed with stage
in 0 seconds
...@@ -14,7 +14,7 @@ egg = wendelin.core ...@@ -14,7 +14,7 @@ egg = wendelin.core
[wendelin.core-dev] [wendelin.core-dev]
recipe = zc.recipe.egg:develop recipe = zc.recipe.egg:develop
egg = wendelin.core egg = wendelin.core
setup = ${wendelin.core-repository-submoduleinit:location} setup = ${wendelin.core-repository:location}
environment = wendelin.core-dev-env environment = wendelin.core-dev-env
[wendelin.core-dev-env] [wendelin.core-dev-env]
...@@ -28,13 +28,3 @@ repository = https://lab.nexedi.com/nexedi/wendelin.core.git ...@@ -28,13 +28,3 @@ repository = https://lab.nexedi.com/nexedi/wendelin.core.git
# dir is pretty name as top-level -dev recipe # dir is pretty name as top-level -dev recipe
location = ${buildout:parts-directory}/wendelin.core-dev location = ${buildout:parts-directory}/wendelin.core-dev
git-executable = ${git:location}/bin/git git-executable = ${git:location}/bin/git
# TODO add `git clone --recursive` to slapos.recipe.build:gitclone
# and this way merge this -submoduleinit into -repository part
[wendelin.core-repository-submoduleinit]
recipe = plone.recipe.command
command = cd "${wendelin.core-repository:location}" && ${git:location}/bin/git submodule update --init
stop-on-error = true
# propagate location of main repo
location= ${wendelin.core-repository:location}
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