Add a dependencies hook for plugin dependency management

This commit is contained in:
Stafford Brunk
2013-10-29 14:44:48 -06:00
committed by Jose Diaz-Gonzalez
parent 10b5ee0321
commit e94b46cb0c
4 changed files with 15 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ endif
all:
# Type "make install" to install.
install: dependencies stack copyfiles plugins version
install: dependencies stack copyfiles plugin-dependencies plugins version
copyfiles: addman
cp dokku /usr/local/bin/dokku
@@ -34,6 +34,9 @@ addman:
version:
git describe --tags > ${DOKKU_ROOT}/VERSION 2> /dev/null || echo '~${DOKKU_VERSION} ($(shell date -uIminutes))' > ${DOKKU_ROOT}/VERSION
plugin-dependencies: pluginhook
dokku plugins-install-dependencies
plugins: pluginhook docker
dokku plugins-install