# Development profile of apache-frontend.
# Exactly the same as software.cfg, but fetch the slapos.cookbook
# from git repository instead of fetching stable version,
# allowing to play with bleeding edge environment.

# You'll need to run buildout twice for this profile.

[buildout]
extends =
# Extend in this order, otherwise "parts" will be taken from git profile
  ../../component/git/buildout.cfg
  common.cfg

parts +=
  slapos.cookbook-repository

develop =
  ${:parts-directory}/slapos.cookbook-repository


[slapos.cookbook-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/slapos.git
branch = master
git-executable = ${git:location}/bin/git

[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command =
  grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link &&
