-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All tests requiring an old Bazel version are located inside the integration tests and examples which have their won sub workspaces. Thus we can drop support for the legacy WORKSPACE setup in the main repo. At the same time we simplify the main toolchain. It requires only a single version.
- Loading branch information
Showing
9 changed files
with
14 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,2 @@ | ||
workspace(name = "depend_on_what_you_use") | ||
|
||
# | ||
# Setup of public dependencies of this project | ||
# | ||
|
||
load("//:setup_step_1.bzl", "setup_step_1") | ||
|
||
setup_step_1() | ||
|
||
load("//:setup_step_2.bzl", "setup_step_2") | ||
|
||
setup_step_2() | ||
|
||
# | ||
# Setup of development dependencies of this project | ||
# | ||
|
||
load("//:dev_setup_step_1.bzl", "dev_setup_step_1") | ||
|
||
dev_setup_step_1() | ||
|
||
load("//:dev_setup_step_2.bzl", "dev_setup_step_2") | ||
|
||
dev_setup_step_2() | ||
|
||
load("//:dev_setup_step_3.bzl", "dev_setup_step_3") | ||
|
||
dev_setup_step_3() | ||
# For now we need a WORKSPACE file to mark the workspace root. | ||
# The projects has however migrated to the MODULE.bazel approach and thus the WORKSPACE file is empty. |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
third_party/dev_dependencies.bzl → third_party/dev_extensions.bzl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") | ||
|
||
def dev_dependencies(): | ||
def _mypy_extension_extension_impl(_ctx): | ||
version = "0a881be043e8eae72ad83610c6205e7972bcd5e1" | ||
maybe( | ||
http_archive, | ||
http_archive( | ||
name = "mypy_integration", | ||
sha256 = "1b6c3b1d967ae87b83b7ec179a376a4ff501925488bb06960545e776a873aebd", | ||
strip_prefix = "bazel-mypy-integration-{v}".format(v = version), | ||
urls = ["https://github.com/martis42/bazel-mypy-integration/archive/{v}.tar.gz".format(v = version)], | ||
) | ||
|
||
mypy_dependency = module_extension( | ||
implementation = _mypy_extension_extension_impl, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters