Clone this repo:

Branches

  1. 9613964 Also check status of cargo commands by Rob Tsuk · 4 days ago master
  2. bb03768 Use error_chain to clean up error handling by Rob Tsuk · 10 days ago
  3. 6de6918 Add an option to “launch” a binary by Rob Tsuk · 10 days ago
  4. 2e4170f Refactor build and run by Rob Tsuk · 10 days ago
  5. 01b55f5 Add command to update generated crates by Rob Tsuk · 11 days ago

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.