From ae538f179743501dc6e5baa9f665e09eaf73c86a Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Tue, 29 Jan 2013 22:59:32 +1300 Subject: [PATCH] Run git submodule when updating the module to get dependancies --- composer.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index abd9f1d..dd71326 100644 --- a/composer.json +++ b/composer.json @@ -3,15 +3,16 @@ "description": "UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code", "type": "silverstripe-module", "keywords": ["silverstripe", "userforms"], - "authors": [ - { + "authors": [{ "name": "Will Rossiter", "email": "will@fullscreen.io" - } - ], - - "require": - { + }], + "require": { "silverstripe/framework": "3.*" + }, + "scripts": { + "post-update-cmd": [ + "git submodule update --init --recursive" + ] } } \ No newline at end of file