fix: replace real module names with generic examples in skill docs
This commit is contained in:
@@ -118,7 +118,7 @@ Build only a specific module for faster iteration:
|
||||
hvigorw assembleHap -p module=entry@default --mode module -p buildMode=release --no-daemon
|
||||
|
||||
# Build single HSP module
|
||||
hvigorw assembleHsp -p module=feature_module@default --mode module -p buildMode=release --no-daemon
|
||||
hvigorw assembleHsp -p module=my_feature@default --mode module -p buildMode=release --no-daemon
|
||||
|
||||
# Build single HAR module
|
||||
hvigorw assembleHar -p module=library@default --mode module -p buildMode=release --no-daemon
|
||||
@@ -128,7 +128,7 @@ hvigorw assembleHsp -p module=module1@default,module2@default --mode module -p b
|
||||
```
|
||||
|
||||
**Module name format:** `{moduleName}@{targetName}`
|
||||
- `moduleName`: Directory name of the module (e.g., `entry`, `feature_home`)
|
||||
- `moduleName`: Directory name of the module (e.g., `entry`, `my_feature`)
|
||||
- `targetName`: Target defined in module's `build-profile.json5` (usually `default`)
|
||||
|
||||
**When to use single module build:**
|
||||
|
||||
@@ -22,8 +22,8 @@ All modules are defined in `build-profile.json5` at the project root, in the `mo
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "support_http",
|
||||
"srcPath": "./support/support_http",
|
||||
"name": "my_library",
|
||||
"srcPath": "./library/my_library",
|
||||
"targets": [...]
|
||||
}
|
||||
]
|
||||
@@ -89,15 +89,15 @@ Module build outputs are located at:
|
||||
|
||||
### Example
|
||||
|
||||
For module `support_http` with `srcPath: "./support/support_http"`:
|
||||
For module `my_library` with `srcPath: "./library/my_library"`:
|
||||
|
||||
```
|
||||
support/support_http/build/default/outputs/default/
|
||||
├── support_http-default-signed.hsp ← Signed, ready to install
|
||||
├── support_http-default-unsigned.hsp
|
||||
├── support_http.har
|
||||
library/my_library/build/default/outputs/default/
|
||||
├── my_library-default-signed.hsp ← Signed, ready to install
|
||||
├── my_library-default-unsigned.hsp
|
||||
├── my_library.har
|
||||
├── app/
|
||||
│ └── support_http-default.hsp
|
||||
│ └── my_library-default.hsp
|
||||
├── mapping/
|
||||
│ └── sourceMaps.map
|
||||
└── pack.info
|
||||
|
||||
Reference in New Issue
Block a user