Remove Bazel build (#94)

* Remove bazel build

Also updated the build badge to reflect internal build status.
This commit is contained in:
Lai Jiang 2019-06-13 18:15:33 -04:00 committed by GitHub
parent ad20178f18
commit e17986dfa4
144 changed files with 2 additions and 8274 deletions

View file

@ -1,26 +0,0 @@
# Top-level directory for python code in the domain registry project.
#
# Code within this directory should live under python/google/registry.
#
# For an example of another Google open-source Bazel-based project using a
# top-level python directory in a similar way, see
# https://github.com/google/protobuf/tree/master/python
package(default_visibility = ["//java/google/registry:registry_project"])
licenses(["notice"]) # Apache 2.0
# NOTE: All py_library() rules under this directory should depend on this rule.
#
# This rule serves to add this directory (/python) to the PYTHONPATH of any
# python executable rules that transitively depend on this rule. Adding this
# directory ensures that imports for "google.registry.*" can be correctly
# resolved to files that are under //python/google/registry.
#
# See also:
# - http://www.bazel.io/docs/be/python.html#py_library.imports
# - https://github.com/google/protobuf/blob/v3.0.0-beta-3/BUILD#L568
py_library(
name = "python_directory_import",
imports = ["."],
)

View file

@ -1,28 +0,0 @@
package(default_visibility = ["//java/google/registry:registry_project"])
licenses(["notice"]) # Apache 2.0
py_binary(
name = "xml_to_index_yaml_translator",
srcs = ["xml_to_index_yaml_translator.py"],
python_version = "PY2",
deps = [":xml_to_index_yaml_translator_lib"],
)
py_library(
name = "xml_to_index_yaml_translator_lib",
srcs = ["xml_to_index_yaml_translator.py"],
deps = ["//python:python_directory_import"],
)
py_test(
name = "xml_to_index_yaml_translator_test",
size = "small",
srcs = ["xml_to_index_yaml_translator_test.py"],
data = [
"testdata/datastore-indexes.xml",
"testdata/index.yaml",
],
python_version = "PY2",
deps = [":xml_to_index_yaml_translator_lib"],
)