#ifndef PIC_UPDATE_H #define PIC_UPDATE_H /* pic update [--status | --auto] [--force] [--full]: keeps a source checkout of trunk, and when trunk has moved * pulls it, builds the release binary, runs a smoke set of the release tests (--full: all of them; trunk's * landings already passed the full suite on the forge) and, only if all of it passed, installs * the binary over the pic that runs this (a temporary file in its directory, then a rename). One * update runs at a time (~/.pic/update.lock). What happened last is in ~/.pic/update.status * (`pic update --status`) and the output of the build and tests in ~/.pic/update.log. * --auto is what the terminal interface starts: quiet, a no-op when autoUpdate is false, offline is * true or the last look was under half an hour ago. SELF is this program's path. 0, or 1 when the * update failed, was refused or could not start. */ int pic_update_main(const char *self, int argc, char **argv); #endif