Add an option to “launch” a binary

Program in Fuchsia that wish to access service handles need
to be invoked with “launch”, rather than just the path to their
binary.

Change-Id: I61e2d8b3a5802c817f464eb82c3e3ec5326cf56d
1 file changed
tree: ff8c5b8715f605dc120e1ed73d4cff077d63fb42
  1. fargo-test/
  2. src/
  3. .gitignore
  4. AUTHORS
  5. Cargo.lock
  6. Cargo.toml
  7. CONTRIBUTING.md
  8. LICENSE
  9. PATENTS
  10. README.md
README.md

fargo

Fargo is a prototype Fuchsia-specific wrapper around Cargo.

USAGE:
    fargo [FLAGS] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v               Print verbose output while performing commands

SUBCOMMANDS:
    build          Build binary targeting Fuchsia device or emulator
    build-tests    Build for Fuchsia device or emulator
    help           Prints this message or the help of the given subcommand(s)
    restart        Stop all Fuchsia emulators and start a new one
    run            Run binary on Fuchsia device or emulator
    ssh            Open a shell on Fuchsia device or emulator
    start          Start a Fuchsia emulator
    stop           Stop all Fuchsia emulators
    test           Run unit tests on Fuchsia device or emulator

The fargo-test directory contains something one can use to test-drive.

At the moment fargo requires the FUCHSIA_ROOT environmental variable be set to the path to a Fuchsia build. The goal is to transition fargo to using something like an SDK instead.

Currently fargo does not support building artifacts that need additional libraries.