-
-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make create
, update
, build
and run
automatically execute any of the earlier steps which are out of date
#807
Comments
This has been observed on Windows, but variations on this theme exist on almost every platform (e.g., on macOS, the binary exists in the template; the build step does adhoc signing, so There's also some overlap with #411; in that case, an incomplete The more general problem that needs a solution is "dirty" state tracking. My best thought at present is that the last step in It could also potentially remove the need for explicit calls to |
That's a great idea: I'm constantly forgetting to run |
briefcase create
immediately followed by briefcase run
skips the build
stepcreate
, update
, build
and run
automatically execute any of the earlier steps which are out of date
Particularly unexpected for me (a new user, just going through the tutorials) was that "briefcase update" does NOT UPDATE mobile or other packages, JUST the one for the current system type. I had to figure out myself that I needed to run "briefcase update android" and THEN "briefcase build android" as separate commands. It not only doesn't update automatically when changes are detected, but update must be run for each platform separately. That's pretty crazy. Build processes are supposed to be more automatic than that these days, aren't they? |
@jgilmore An interesting (and not unreasonable) perspective; however, it's a moot point if the idea proposed by this ticket is addressed. If an update is automatically performed when required as a result of invoking run/build on a specific platform, then "update all platforms" isn't necessary. FWIW, the current behaviour is an optimization. I could easily have a dozen active platforms (macOS, Windows, iOS, Android, web, Flatpak, multiple linux distributions,... ), and update isn't a "zero time" operation. If |
Describe the bug
On Windows,
briefcase create
immediately followed bybriefcase run
skips thebuild
step:This is because
RunCommand
contains the code:But on Windows, the executable comes with the template, so it always exists. So
briefcase create
immediately followed bybriefcase run
will never do thebuild
step, which is responsible for setting the main module name in the EXE's version information.Expected behavior
briefcase run
should do abuild
if it hasn't already happened.Environment:
The text was updated successfully, but these errors were encountered: