Browse Source

makefile for multisite

bach 2 weeks ago
parent
commit
24a5b56eac
1 changed files with 8 additions and 4 deletions
  1. 8 4
      Makefile

+ 8 - 4
Makefile

@@ -36,19 +36,23 @@ down:
 maj_config: crd composer_install updb cim cr
 
 crd:
-		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush cache-clear drush"
+		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush @self.colloque2021 cache-clear drush"
+		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush @self.colloque2024 cache-clear drush"
 
 composer_install:
 		docker exec popsucoloque-php-1 /bin/bash -c "composer install --no-dev"
 
 updb:
-		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush updb -y"
+		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush @self.colloque2021 updb -y"
+		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush @self.colloque2024 updb -y"
 
 cim:
-		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush config-import -y"
+		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush @self.colloque2021 config-import -y"
+		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush @self.colloque2024 config-import -y"
 
 cr:
-		docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush cr"
+		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush @self.colloque2021 cr"
+		docker exec popsucoloque-php-1 /bin/bash -c "vendor/bin/drush @self.colloque2024 cr"
 
 
 exec_php: