mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 05:58:28 +00:00
Update cheatsheets
This commit is contained in:
23
tldr/sfdk
23
tldr/sfdk
@@ -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`):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user