From 549a2fdb03b441cd0bb34f99e981617173f57ec0 Mon Sep 17 00:00:00 2001 From: Azmog <80716388+AzmogEx@users.noreply.github.com> Date: Fri, 19 Jun 2026 14:47:10 +0200 Subject: [PATCH] chore: ajoute make mobile-tunnel (Expo sans WiFi commun) Co-Authored-By: Claude Opus 4.8 (1M context) --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 500c07f..a0b8ebe 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Tape simplement `make` pour voir l'aide. .DEFAULT_GOAL := help -.PHONY: help back back-logs back-stop web mobile mobile-reset up down stop ps seed migrate fresh test kill-3000 +.PHONY: help back back-logs back-stop web mobile mobile-tunnel mobile-reset up down stop ps seed migrate fresh test kill-3000 ## help : affiche cette aide help: @@ -13,6 +13,7 @@ help: @echo " \033[36mmake back\033[0m Lance le BACKEND (API + PostgreSQL + Redis) dans Docker -> http://localhost:8000" @echo " \033[36mmake web\033[0m Lance le SITE WEB / landing page (Next.js, local) -> http://localhost:3000" @echo " \033[36mmake mobile\033[0m Lance l'APP MOBILE (Expo) + QR code" + @echo " \033[36mmake mobile-tunnel\033[0m Expo en mode tunnel (sans WiFi commun : partage de connexion)" @echo " \033[36mmake mobile-reset\033[0m Répare watchman puis relance Expo (si plantage/recrawl)" @echo "" @echo " \033[36mmake up\033[0m Lance TOUT dans Docker (api + db + redis + front)" @@ -61,6 +62,10 @@ web: mobile: cd mobile && npx expo start --clear +## mobile-tunnel : lance Expo en mode tunnel (marche sans WiFi commun, ex. partage de connexion) +mobile-tunnel: + cd mobile && npx expo start --tunnel --clear + ## mobile-reset : répare watchman + relance Expo (si "Recrawled this watch" ou plantage) mobile-reset: -watchman watch-del-all