From 2ec5834a98da25cb4a9c93ea4284af986709cb3d Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 24 Oct 2017 21:32:39 +0200 Subject: [PATCH] Update readme --- README-fr.md | 8 ++++++++ README.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/README-fr.md b/README-fr.md index 5e13978..0c38b71 100644 --- a/README-fr.md +++ b/README-fr.md @@ -50,6 +50,9 @@ package_check/package_check.sh APP_ynh ``` ;; Nom du test # Commentaire ignoré + ; pre-install + echo -n "Placez ici vos commandes a exéxuter dans le conteneur, " + echo "avant chaque installation de l'application." ; Manifest domain="domain.tld" (DOMAIN) path="/path" (PATH) @@ -91,6 +94,11 @@ Nom du scénario de test qui sera effectué. On peut créer autant de scénario de test que voulu, tous ayant la même syntaxe. Les différents scénarios de test seront exécutés successivement. +### `; pre-install` +*Instruction optionnelle* +Si vous devez exécuter une commande ou un groupe de commandes avant l'installation, vous pouvez utiliser cette instruction. +Toutes les commandes ajoutées après l'instruction `; pre-install` seront exécutées dans le conteneur avant chaque installation de l'application. + ### `; Manifest` Ensemble des clés du manifest. Toutes les clés du manifest doivent être renseignée afin de procéder à l'installation. diff --git a/README.md b/README.md index ce510aa..9ed3ce3 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,9 @@ package_check/package_check.sh APP_ynh ``` ;; Test name # Comment ignored + ; pre-install + echo -n "Here your commands to execute in the container, " + echo "before each installation of the app." ; Manifest domain="domain.tld" (DOMAIN) path="/path" (PATH) @@ -91,6 +94,11 @@ Name of tests series that will be perform. It's possible to create multiples tests series, all with the same syntax. All different tests series will be perform sequentialy. +### `; pre-install` +*Optionnal instruction* +If you have to execute a command or a group of commands before the installation. You can use this instruction. +All the commands added after the instruction `; pre-install` will be executed in the container before each installation of the app. + ### `; Manifest` Set of manifest keys. All manifest keys need to be filled to perform installation.