[bazel] Add rules_python / rules_license dependencies as submodules

Bug: 364315816
Change-Id: Ia5a98ecffb6b6b1ef5574a20758b3b6545e8fe3b
Reviewed-on: https://fuchsia-review.googlesource.com/c/template/driver/+/1123726
Reviewed-by: Chase Latta <chaselatta@google.com>
4 files changed
tree: 128848aed10066d98a54f6d7c9893e426bda0d57
  1. manifests/
  2. scripts/
  3. third_party/
  4. tools/
  5. .bazelrc
  6. .gitignore
  7. .gitmodules
  8. _rollers.textproto
  9. AUTHORS
  10. BUILD.bazel
  11. CONTRIBUTING.md
  12. fuchsia_env.toml
  13. LICENSE
  14. OWNERS
  15. PATENTS
  16. README.md
  17. shac.star
  18. shac.textproto
  19. WORKSPACE.bazel
README.md

Fuchsia <change_me> Driver Repository

<change_me: This repository is a template that we will use when creating new driver repositories for Fuchsia>.

Template repository is located in: https://fuchsia.googlesource.com/template/driver/

Getting Started

To perform an initial bootstrap, execute the following:

  1. In a terminal, clone the repository:

    git clone https://fuchsia.googlesource.com/drivers/<change_me>
    
  2. Change to that directory:

    cd <change_me>
    
  3. Fetch all git submodules:

    git submodule init && git submodule update --recursive
    
  4. Bootstrap the build environment:

    scripts/bootstrap.sh
    
  5. Fetch and build the SDK:

    tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
    

See the getting started guide for more info.

Building And Testing Driver

Run the full test-suite with:

tools/bazel test :tests

Run only the <change_me> driver tests with:

tools/bazel test <change_me>:<fuchsia_unittest_package_name>