Apparently we've got a "helper target for mobile" in client.mk that's just build_and_deploy: build fast-package install Might be worth adding this.
So, I wanted to do this, but I suck at python. It would be quite cool to be able to do, say: > ./mach build directory another/directory toolkit/library package install where build, package and install are commands, and the other arguments are directories.
I think adding intelligent targets to the |build| command is a great idea. However, I think that would be covered by bug 677452. Generic chaining of commands is going to be difficult to implement properly. I suggest we implement higher-level commands on top of lower-level ones. I /think/ it's possible for mach commands to invoke other mach commands now. Although, it could probably use a more formal API.
I'm doing some hacking on mobile right now and the build cycle sucks. It's "build, package, install", and they all take a while. Aping the "build_and_deploy" target for right now would be an improvement.
You need to log in before you can comment on or make changes to this bug.