Skip to content

A wrapper to run bazel with locally overriden dependencies

Notifications You must be signed in to change notification settings

vaticle/bazel-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bazel-local

A wrapper to run bazel with locally overriden dependencies.

Intallation

curl -sSf https://raw.githubusercontent.com/graknlabs/bazel-local/master/install.sh | sh

Usage

Use the bazel-local command in place of bazel.

To enable local dependency overriding, create a .local_deps.toml in the root of your bazel workspace. An example is shown:

# Override git_repository/http_archive with local bazel workspaces at the given directory.
# This works recursively, respecting their local `.local_deps.toml` configuration.
[local_repositories]
graknlabs_grakn_common = "../common"

# Override a http_file with the output of the given [<workspace_path>, <target>]
[http_files]
graknlabs_console = ["../console", "//:console-deps"]

You should add .local_deps* to your .gitignore.

About

A wrapper to run bazel with locally overriden dependencies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published