Parcourir la source

Merge pull request #3191 from jakoch/master

added stof's php inline example from #3190 to doc/articles/scripts.md
Jordi Boggiano il y a 10 ans
Parent
commit
6c0afd3fc0
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      doc/articles/scripts.md

+ 3 - 0
doc/articles/scripts.md

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