Browse Source

Merge pull request #3191 from jakoch/master

added stof's php inline example from #3190 to doc/articles/scripts.md
Jordi Boggiano 10 years ago
parent
commit
6c0afd3fc0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      doc/articles/scripts.md

+ 3 - 0
doc/articles/scripts.md

@@ -79,6 +79,9 @@ Script definition example:
         "post-install-cmd": [
         "post-install-cmd": [
             "MyVendor\\MyClass::warmCache",
             "MyVendor\\MyClass::warmCache",
             "phpunit -c app/"
             "phpunit -c app/"
+        ],
+        "post-create-project-cmd" : [
+            "php -r \"copy('config/local-example.php', 'config/local.php');\""
         ]
         ]
     }
     }
 }
 }