From c2bb37af55d7170d0c8845db66d0839bdca14b46 Mon Sep 17 00:00:00 2001 From: Emmanuel ROY Date: Wed, 1 Apr 2020 11:56:53 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20derni=C3=A8re=20update=20dans=20le?= =?UTF-8?q?=20bin=20de=20la=20console=20module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TODO: créé les pages de blog (sommaire,news) permettant d'afficher les fichiers md --- console/command/module.class.php | 4 ++-- console/command/symfony.class.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/console/command/module.class.php b/console/command/module.class.php index c3eff26..4e25e7d 100644 --- a/console/command/module.class.php +++ b/console/command/module.class.php @@ -103,8 +103,8 @@ class module include dirname(__FILE__).DIRECTORY_SEPARATOR.'symfony.class.php'; symfony::stabilize(); - $symfony_root = shell_exec('cp -f '.CONSOLE_PATH.'/skel/symfony-app '.MODULES_PATH.'/'.$name); - $symfony_composer = shell_exec('cd '.MODULES_PATH.' && composer update'); + $symfony_root = shell_exec('cp -fr '.CONSOLE_PATH.'/skel/symfony-app '.MODULES_PATH.'/'.$name); + $symfony_composer = shell_exec('cd '.MODULES_PATH.'/'.$name.' && composer update'); print 'n\'oublier pas d\'ajouter:\n' .'\n'.$name.' : Application permettant d\'intégrer un module avec symfony' diff --git a/console/command/symfony.class.php b/console/command/symfony.class.php index 941621d..daac767 100644 --- a/console/command/symfony.class.php +++ b/console/command/symfony.class.php @@ -10,7 +10,7 @@ class symfony static public function stabilize(){ print "stabilize symfony module...\n\n"; - $symfony_module = shell_exec('cp -f '.CONSOLE_PATH.'/skel/symfony '.VENDOR_PATH); + $symfony_module = shell_exec('cp -fr '.CONSOLE_PATH.'/skel/symfony '.VENDOR_PATH); } } \ No newline at end of file