mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 04:41:26 +04:00
[FL-3437] fbt: build target for faps (#2888)
* fbt: added build target for faps. Usage: ./fbt build APPSRC=<appid> * Updated docs & vscode config * Code cleanup
This commit is contained in:
@@ -114,8 +114,20 @@ extapps.resources_dist = appenv.FapDist(appenv["RESOURCES_ROOT"], [])
|
||||
|
||||
|
||||
if appsrc := appenv.subst("$APPSRC"):
|
||||
appenv.AddAppLaunchTarget(appsrc, "launch_app")
|
||||
launch_target = appenv.AddAppLaunchTarget(appsrc, "launch")
|
||||
Alias("launch_app", launch_target)
|
||||
appenv.PhonyTarget(
|
||||
"launch_app",
|
||||
Action(
|
||||
lambda **kw: warn(
|
||||
WarningOnByDefault,
|
||||
"The 'launch_app' target is deprecated. Use 'launch' instead.",
|
||||
),
|
||||
None,
|
||||
),
|
||||
)
|
||||
|
||||
appenv.AddAppBuildTarget(appsrc, "build")
|
||||
|
||||
# SDK management
|
||||
|
||||
|
||||
Reference in New Issue
Block a user