Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-16 00:22:14 +00:00
parent 27996b553a
commit 0881b6bcab
25 changed files with 121 additions and 71 deletions

View File

@@ -6,23 +6,32 @@ source: https://github.com/tldr-pages/tldr.git
# sfdk
> Frontend of the Sailfish SDK.
> Some subcommands such as `init`, `build-init`, `device` have their own usage documentation.
> More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/10-general/doc/module.adoc>.
- Execute a subcommand:
- Setup the current environment for building for SailfishOS with a specific versions and architecture target:
`sfdk {{subcommand}}`
`sfdk config target=SailfishOS-{{5.0.0.62}}-{{aarch64}}`
- Execute a subcommand on a custom working directory:
- Initialize the current directory as the build directory:
`git -C {{path/to/directory}} {{subcommand}}`
`sfdk build-init`
- Execute a subcommand with a given configuration set:
- Execute build steps of the RPM SPEC file for a specific project:
`git -c '{{name}}={{value}}' {{subcommand}}`
`sfdk -C {{path/to/project}} build`
- List repositories in the SailfishOS 5.0.0.62 armv7hl build target:
`sfdk -c 'target=SailfishOS-5.0.0.62-armv7hl' build-shell --maintain ssu lr`
- Deploy the package to the emulator:
`sfdk config device="{{Sailfish OS Emulator 5.0.0.62}}"; sfdk deploy --sdk`
- Display help:
`sfdk {{[-h|--help]}}`
`sfdk --help`
- Display help for specific topic (`building`, `testing`, `maintaining`, `ide`, `all`):