Browse Source

updates

master
Gaëtan Maiuri 7 years ago
parent
commit
9207ee3dec
No known key found for this signature in database GPG Key ID: E485437D7F5FAE7F
1 changed files with 8 additions and 7 deletions
  1. +8
    -7
      README.md

+ 8
- 7
README.md View File

@ -70,14 +70,15 @@ Le fichier **Cupfile** permet de **rassembler des informations** qui seront util
Voici la structure d'un Cupfile: Voici la structure d'un Cupfile:
```plain ```plain
+--------------------> +-------------------->
| AUTOR = Maiuri Gaëtan <maiuri.gaetan@lessonsharing.fr>
| User variables. DATE = 2017-09-22
| DESCRIPTION = A simple Cuper container with a text reader.
| VAR1 = value1
| User variables. VAR2 = value2
| VAR3 = value3
+--------------------> +-------------------->
| X-ENV = ["VERBOSE=1", "LD_LIBRARY_PATH=$_CWD/python-linux-x86-64/"]
| Constantes. X-INCLUDES = ["python-linux-x86-64/", "main.py"]
| ([add:] | set:)X-CONST1 = value1
| Constantes. ([add:] | set:)X-CONST2 = value2
| ([add:] | set:)X-CONST3 = value3
+--------------------> +-------------------->
+--------------------> `0x0a 0x0a`
+--------------------> (2x new ligne: `0x0a 0x0a`)
+--------------------> `exec` executable_file [arguments] +--------------------> `exec` executable_file [arguments]
``` ```
@ -86,7 +87,7 @@ Voici un exemple de Cupfile, ce conteneur permet l'execution d'un script Python,
AUTOR = Maiuri Gaëtan <maiuri.gaetan@lessonsharing.fr> AUTOR = Maiuri Gaëtan <maiuri.gaetan@lessonsharing.fr>
DATE = 2017-09-22 DATE = 2017-09-22
DESCRIPTION = A simple Cuper container with a text reader. DESCRIPTION = A simple Cuper container with a text reader.
X-ENV = ["VERBOSE=1", "LD_LIBRARY_PATH=$_CWD/python-linux-x86-64/"]
X-ENV = ["set:VERBOSE=1", "LD_LIBRARY_PATH=$_CWD/python-linux-x86-64/"] # LD_LIBRARY_PATH=... => is equivalente of add:LD_LIBRARY_PATH=...
X-INCLUDES = ["python-linux-x86-64/", "main.py"] X-INCLUDES = ["python-linux-x86-64/", "main.py"]
# POSIX # POSIX


Loading…
Cancel
Save

Powered by TurnKey Linux.