Skip to content

Commit

Permalink
docs(): update .sscrc doc
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Nov 3, 2023
1 parent ceede17 commit c2fe7bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions api/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The file is read on startup and the values are used to configure the project.
Sometimes it's useful to overide the values in `socket.ini` or keep some of the values local (e.g. `[ios] simulator_device`)
or secret (e.g. `[ios] codesign_identity`, `[ios] provisioning_profile`, etc.)
This can be done by creating a file called `.ssrc` in the root of the project.
It is possible to ovveride both Command Line Interface (CLI) and Configuration File (INI) options.

Example:

Expand All @@ -26,9 +27,10 @@ headless = false
```ini
[build]

headless = true
platform = ios ; override the `--platform` CLI option

[ios]

[settings.ios] ; override the `[ios]` section in `socket.ini`

codesign_identity = "iPhone Developer: John Doe (XXXXXXXXXX)"
distribution_method = "ad-hoc"
Expand Down
6 changes: 4 additions & 2 deletions bin/docs-generator/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The file is read on startup and the values are used to configure the project.
Sometimes it's useful to overide the values in \`socket.ini\` or keep some of the values local (e.g. \`[ios] simulator_device\`)
or secret (e.g. \`[ios] codesign_identity\`, \`[ios] provisioning_profile\`, etc.)
This can be done by creating a file called \`.ssrc\` in the root of the project.
It is possible to ovveride both Command Line Interface (CLI) and Configuration File (INI) options.
Example:
Expand All @@ -62,9 +63,10 @@ headless = false
\`\`\`ini
[build]
headless = true
platform = ios ; override the \`--platform\` CLI option
[ios]
[settings.ios] ; override the \`[ios]\` section in \`socket.ini\`
codesign_identity = "iPhone Developer: John Doe (XXXXXXXXXX)"
distribution_method = "ad-hoc"
Expand Down

0 comments on commit c2fe7bf

Please sign in to comment.