Debian Codegraph @

docs/en/reference/commands/update.md

raw
1 # update
2
3 While you're developing an application, you may need to rapidly iterate on the code, making small changes and then re-building. The update command applies any changes you've made to your code to the packaged application code.
4
5 It will *not* update requirements or installer resources unless specifically requested.
6
7 ## Usage
8
9 To repackage your application's code for the current platform's default output format:
10
11 ```console
12 $ briefcase update
13 ```
14
15 To repackage your application's code for a different platform:
16
17 ```console
18 $ briefcase update <platform>
19 ```
20
21 To repackage your application's code for a specific output format:
22
23 ```console
24 $ briefcase update <platform> <output format>
25 ```
26
27 ## Options
28
29 The following options can be provided at the command line.
30
31 ### `-a <app name>` / `--app <app name>`
32
33 Run a specific application target in your project. This argument is only required if your project contains more than one application target. The app name specified should be the machine-readable package name for the app.
34
35 ### `-r` / `--update-requirements`
36
37 Update application requirements.
38
39 ### `--update-resources`
40
41 Update application resources such as icons.
42
43 ### `--update-support`
44
45 Update application support package.
46
47 ### `--update-stub`
48
49 Update stub binary.