@@ -7,7 +7,7 @@ Cette Formula permet l'installation de `claude-switch` via Homebrew.
77** Installation** :
88``` bash
99brew tap FlorianBruniaux/tap
10- brew install claude-switch
10+ brew install cc-copilot-bridge
1111eval " $( claude-switch --shell-config) "
1212```
1313
@@ -32,7 +32,7 @@ Le Homebrew tap se trouve dans un repo séparé : `FlorianBruniaux/homebrew-tap`
3232```
3333homebrew-tap/
3434├── Formula/
35- │ └── claude-switch .rb # Copié depuis cc-copilot-bridge/Formula/
35+ │ └── cc-copilot-bridge .rb # Copié depuis cc-copilot-bridge/Formula/
3636└── README.md
3737```
3838
@@ -44,15 +44,15 @@ homebrew-tap/
44442 . GitHub Actions :
4545 - Compute SHA256 du tarball
4646 - Build packages (.deb, .rpm)
47- - Update ` Formula/claude-switch .rb ` avec SHA256
47+ - Update ` Formula/cc-copilot-bridge .rb ` avec SHA256
4848 - Create GitHub Release
4949 - ** Commit Formula update** dans ` cc-copilot-bridge `
5050
51513 . ** Copie manuelle vers tap** :
5252 ``` bash
5353 cd ~ /Sites/perso/homebrew-tap
54- cp ../cc-copilot-bridge/Formula/claude-switch .rb Formula/
55- git add Formula/claude-switch .rb
54+ cp ../cc-copilot-bridge/Formula/cc-copilot-bridge .rb Formula/
55+ git add Formula/cc-copilot-bridge .rb
5656 git commit -m " Update claude-switch to v1.5.3"
5757 git push
5858 ```
@@ -63,7 +63,7 @@ homebrew-tap/
6363
6464``` bash
6565# 1. Build from local formula
66- brew install --build-from-source ./Formula/claude-switch .rb
66+ brew install --build-from-source ./Formula/cc-copilot-bridge .rb
6767
6868# 2. Vérifier
6969claude-switch --version
@@ -81,13 +81,13 @@ brew uninstall claude-switch
8181
8282``` bash
8383# Linter Homebrew
84- brew audit --strict ./Formula/claude-switch .rb
84+ brew audit --strict ./Formula/cc-copilot-bridge .rb
8585
8686# Style check
87- brew style ./Formula/claude-switch .rb
87+ brew style ./Formula/cc-copilot-bridge .rb
8888
8989# Test installation
90- brew install --build-from-source ./Formula/claude-switch .rb
90+ brew install --build-from-source ./Formula/cc-copilot-bridge .rb
9191brew test claude-switch
9292```
9393
@@ -127,10 +127,10 @@ wget https://github.com/FlorianBruniaux/cc-copilot-bridge/archive/refs/tags/v1.5
127127NEW_SHA=$( sha256sum v1.5.2.tar.gz | awk ' {print $1}' )
128128
129129# Update Formula
130- sed -i " s/sha256 \" .*\" /sha256 \" ${NEW_SHA} \" /" Formula/claude-switch .rb
130+ sed -i " s/sha256 \" .*\" /sha256 \" ${NEW_SHA} \" /" Formula/cc-copilot-bridge .rb
131131
132132# Commit et push
133- git add Formula/claude-switch .rb
133+ git add Formula/cc-copilot-bridge .rb
134134git commit -m " Fix SHA256 checksum for v1.5.2"
135135git push
136136```
@@ -159,7 +159,7 @@ brew install netcat
159159** Solution** :
160160``` bash
161161brew uninstall claude-switch
162- brew install claude-switch
162+ brew install cc-copilot-bridge
163163```
164164
165165### Ressources
0 commit comments