Skip to content
Snippets Groups Projects
  • Serge Bazanski's avatar
    78ca72e9
    Build using Bazel · 78ca72e9
    Serge Bazanski authored
    This change integrates the Bazel build system into bio-rd.
    
    We also add support for:
      - running go dep from vendored libraries
      - running goveralls from vendored libraries
      - running bazel-based coverage from travis
    78ca72e9
    History
    Build using Bazel
    Serge Bazanski authored
    This change integrates the Bazel build system into bio-rd.
    
    We also add support for:
      - running go dep from vendored libraries
      - running goveralls from vendored libraries
      - running bazel-based coverage from travis
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
WORKSPACE 808 B
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

# Bazel Go rules
http_archive(
    name = "io_bazel_rules_go",
    urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.12.1/rules_go-0.12.1.tar.gz"],
    sha256 = "8b68d0630d63d95dacc0016c3bb4b76154fe34fca93efd65d1c366de3fcb4294",
)

# Bazel Gazelle integration
http_archive(
    name = "bazel_gazelle",
    urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.12.0/bazel-gazelle-0.12.0.tar.gz"],
    sha256 = "ddedc7aaeb61f2654d7d7d4fd7940052ea992ccdb031b8f9797ed143ac7e8d43",
)

load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()

load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()