Skip to content

Commit 5638511

Browse files
authored
Update packaging.md
1 parent 60e7c86 commit 5638511

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

doc/dev_guide/packaging.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@ TODO Instructions
2121
TODO Instructions
2222

2323
## Homebrew
24-
# apidash Homebrew Formula Submission
2524

26-
## 1. Prepare Tap Repository
25+
Homebrew Formula Submission
26+
27+
### 1. Prepare Tap Repository
28+
2729
```
2830
# Create Homebrew tap
2931
gh repo create homebrew-tap --public --clone
3032
mkdir -p homebrew-tap/Formula
3133
cd homebrew-tap
3234
```
3335

34-
## 2. Package apidash
36+
### 2. Package apidash
37+
3538
```
3639
# Build macOS bundle
3740
flutter build macos
@@ -45,8 +48,10 @@ tar -czvf apidash-v1.0.0.tar.gz \
4548
shasum -a 256 apidash-v1.0.0.tar.gz
4649
```
4750

48-
## 3. Create Formula File
51+
### 3. Create Formula File
52+
4953
`Formula/apidash.rb`:
54+
5055
```
5156
class Apidash < Formula
5257
desc "Modern API dashboard for developers"
@@ -65,7 +70,8 @@ class Apidash < Formula
6570
end
6671
```
6772

68-
## 4. Local Validation
73+
### 4. Local Validation
74+
6975
```
7076
# Check formula syntax
7177
brew audit --strict Formula/apidash.rb
@@ -76,7 +82,9 @@ brew install --build-from-source Formula/apidash.rb
7682
# Verify execution
7783
brew test apidash
7884
```
79-
## 5. Custom Tap Submission
85+
86+
### 5. Custom Tap Submission
87+
8088
```
8189
# Commit formula to your tap repo
8290
git add Formula/Apidash.rb
@@ -86,11 +94,12 @@ git push
8694
# Create release for tarball
8795
gh release create v1.0.0 apidash-v1.0.0.tar.gz
8896
```
89-
## 6. Installation
97+
98+
### 6. Installation
99+
90100
```
91101
brew tap homebrew-tap/Formula
92102
brew install apidash
93-
94103
```
95104

96105
## Chocolatey

0 commit comments

Comments
 (0)