Run git submodule when updating the module to get dependancies

This commit is contained in:
Will Rossiter 2013-01-29 22:59:32 +13:00
parent 3015997bdf
commit ae538f1797

View File

@ -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"
]
}
}