mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 13:15:46 +02:00
dart: add French translation (#9070)
This commit is contained in:
parent
d0081edd1f
commit
3addc95e34
1 changed files with 28 additions and 0 deletions
28
pages.fr/common/dart.md
Normal file
28
pages.fr/common/dart.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# dart
|
||||||
|
|
||||||
|
> Ligne de commande pour gérer un projet Dart.
|
||||||
|
> Plus d'informations : <https://dart.dev/tools/dart-tool>.
|
||||||
|
|
||||||
|
- Initialise un nouveau projet Dart dans un dossier du même nom :
|
||||||
|
|
||||||
|
`dart create {{nom_du_projet}}`
|
||||||
|
|
||||||
|
- Exécuter un fichier Dart :
|
||||||
|
|
||||||
|
`dart run {{chemin/vers/fichier.dart}}`
|
||||||
|
|
||||||
|
- Télécharger les dépendences pour le projet courant :
|
||||||
|
|
||||||
|
`dart pub get`
|
||||||
|
|
||||||
|
- Exécuter les tests unitaire pour le projet courant :
|
||||||
|
|
||||||
|
`dart test`
|
||||||
|
|
||||||
|
- Mettre à jour les dépendances d'un projet pour supporter null-safety :
|
||||||
|
|
||||||
|
`dart pun upgrade --null-safety`
|
||||||
|
|
||||||
|
- Compiler un fichier Dart vers un binaire natif :
|
||||||
|
|
||||||
|
`dart compile exe {{chemin/vers/fichier.dart}}`
|
Loading…
Add table
Reference in a new issue