quire 0.4.1

A YAML-based configuration parsing library
Documentation
containers:

  doc:
    setup:
    - !Alpine v3.8
    - !Repo edge/main
    - !Repo edge/community
    - !Install [make, py3-sphinx]

  build:
    setup:
    - !Ubuntu bionic
    - !Install [make, ca-certificates, build-essential, vim]

    - !TarInstall
      url: "https://static.rust-lang.org/dist/rust-1.27.2-x86_64-unknown-linux-gnu.tar.gz"
      script: "./install.sh --prefix=/usr \
               --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
    - &bulk !Tar
      url: "https://github.com/tailhook/bulk/releases/download/v0.4.12/bulk-v0.4.12.tar.gz"
      sha256: 7deeb4895b3909afea46194ef01bafdeb30ff89fc4a7b6497172ba117734040e
      path: /
    - !EnsureDir /cargo
    environ:
      HOME: /work/target

commands:

  make: !Command
    container: build
    run: [cargo, build]

  test: !Command
    environ: { RUST_BACKTRACE: 1 }
    container: build
    run: [cargo, test]

  cargo: !Command
    container: build
    symlink-name: cargo
    run: [cargo]

  doc: !Command
    container: doc
    description: Build sphinx documentation
      (user guide rather than API reference)
    work-dir: doc
    epilog: |
      ------------------------------------------------------------------------
        xdg-open doc/_build/html/index.html
    run: [make, html, SPHINXBUILD=sphinx-build-3]

  _bulk: !Command
    description: Run `bulk` command (for version bookkeeping)
    container: build
    run: [bulk]