Skip to content

Commit 574dbbd

Browse files
committed
feat(tasks): add silent option to various tasks for cleaner output
1 parent e9b54dd commit 574dbbd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Taskfile.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tasks:
5353
silent: true
5454
cmds:
5555
- rm -rf ./conf/apache2 || true
56-
- docker create --name drupal-php koromerzhin/php:8.4.3-apache-symfony
56+
- docker create --name drupal-php koromerzhin/php:8.4.3-apache-symfony
5757
- mkdir -p ./conf/apache2
5858
- docker cp drupal-php:/etc/apache2/sites-available/000-default.conf ./conf/apache2/000-default.conf
5959
- docker cp drupal-php:/etc/apache2/apache2.conf ./conf/apache2/apache2.conf
@@ -79,7 +79,7 @@ tasks:
7979
vars:
8080
SOURCE_FILE: ./{{.FOLDERSQL}}/{{.FILESQL}}
8181
DEST_DIR: "{{.FOLDERLAMPY}}/mariadb_init/"
82-
FORCE: "true"
82+
FORCE: true
8383

8484
drupal:getpull-image:
8585
desc: "Télécharge les images Docker définies dans le docker-compose.yml"
@@ -123,6 +123,7 @@ tasks:
123123

124124
drupal:exec:
125125
desc: "Exécute une commande dans un conteneur en cours d'exécution"
126+
silent: true
126127
cmds:
127128
- task: drupal:copysql
128129
- task: drupal:getapacheconf
@@ -133,13 +134,15 @@ tasks:
133134

134135
drupal:download-phar:
135136
desc: "Télécharger les différents fichiers phar"
137+
silent: true
136138
cmds:
137139
- task: download:php:tools
138140
vars:
139141
TOOLS_DIR: ./../apps
140142

141143
drupal:bash:
142144
desc: "Ouvre un shell bash dans le conteneur www"
145+
silent: true
143146
cmds:
144147
- task: docker:stack:shell
145148
vars:

0 commit comments

Comments
 (0)