snippetbashTip
sfdk — Frontend of the Sailfish SDK. Some subcommands such as `init`, `build-init`, `device` have their own
Viewed 0 times
thecommandfrontendsdkclisailfishsomesfdk
Problem
How to use the
sfdk command: 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>.Solution
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>.Setup the current environment for building for SailfishOS with a specific versions and architecture target:
sfdk config target=SailfishOS-{{5.0.0.62}}-{{aarch64}}Initialize the current directory as the build directory:
sfdk build-initExecute build steps of the RPM SPEC file for a specific project:
sfdk -C {{path/to/project}} buildList repositories in the SailfishOS 5.0.0.62 armv7hl build target:
sfdk -c 'target=SailfishOS-5.0.0.62-armv7hl' build-shell --maintain ssu lrDeploy the package to the emulator:
sfdk config device="{{Sailfish OS Emulator 5.0.0.62}}"; sfdk deploy --sdkDisplay help:
sfdk --helpDisplay help for specific topic (
building, testing, maintaining, ide, all):sfdk --help-{{topic}}Display version:
sfdk --versionCode Snippets
Setup the current environment for building for SailfishOS with a specific versions and architecture target
sfdk config target=SailfishOS-{{5.0.0.62}}-{{aarch64}}Initialize the current directory as the build directory
sfdk build-initExecute build steps of the RPM SPEC file for a specific project
sfdk -C {{path/to/project}} buildList repositories in the SailfishOS 5.0.0.62 armv7hl build target
sfdk -c 'target=SailfishOS-5.0.0.62-armv7hl' build-shell --maintain ssu lrDeploy the package to the emulator
sfdk config device="{{Sailfish OS Emulator 5.0.0.62}}"; sfdk deploy --sdkContext
tldr-pages: common/sfdk
Revisions (0)
No revisions yet.