summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorLogan Hanks <logan@google.com>2018-09-12 14:35:10 -0700
committerDavid Ostrovsky <david@ostrovsky.org>2018-09-21 09:26:43 +0200
commit784849c2ca0020c32b229c83154121b710d07b40 (patch)
tree49782ebdf24241d3a27c2380f869efb5c365f77e /resources
parent60f59f1cdf078b3b069ba02e12bdbaccdf468ef5 (diff)
Bazelify the PolyGerrit dev server
Formerly, developers were directed to install Go and a specific library dependency on their workstation. We can pull this all into bazel using bazelbuild/rules_go and bazelbuild/bazel-gazelle. Now, instead of running a script from a specific directory, the dev server can be started with a simple "bazel run" command. Or, continue using the script, which automatically releases the bazel lock before starting the server. Change-Id: I9dbda32a8c8698b3f43d02b2133d3cecbffaf1c3
Diffstat (limited to 'resources')
-rw-r--r--resources/com/google/gerrit/httpd/raw/BUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/com/google/gerrit/httpd/raw/BUILD b/resources/com/google/gerrit/httpd/raw/BUILD
new file mode 100644
index 0000000000..3cd3ce891a
--- /dev/null
+++ b/resources/com/google/gerrit/httpd/raw/BUILD
@@ -0,0 +1,8 @@
+filegroup(
+ name = "raw",
+ srcs = glob(
+ ["**/*"],
+ exclude = ["BUILD"],
+ ),
+ visibility = ["//visibility:public"],
+)