Initial commit

Change-Id: I8a2bd53b6ff90008ea5c7915c56ed4deb5d0d86f
13 files changed
tree: 6722d45f1e799ea090df058b7aa0e752d9cf4d6a
  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.

To Do

  • Clean up build/build-test
  • Add support for release builds
  • Add support for depending on the FIDL generated crates.
  • Add support for crates like cairo-rs that need native libraries.