From e926cfc8f5ce4c6db666ceb7058bba263fbede36 Mon Sep 17 00:00:00 2001 From: Laszlo Csomor Date: Thu, 21 Jun 2018 06:02:16 -0700 Subject: shell tests, windows: enable more tests Enable on Windows: //src/test/shell/bazel:bazel_experimental_ui_test //src/test/shell/bazel:bazel_random_characters_test Also document the (surprising) semantics of http_file() on Windows. See https://github.com/bazelbuild/bazel/issues/4292 Change-Id: Id636b9cf03cc8d12449eed2be493dcfc176146c7 Closes #5409. Change-Id: I15677548f2f3fd6b4822e8e6af4b78d8517f953a PiperOrigin-RevId: 201512812 --- tools/build_defs/repo/http.bzl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/build_defs/repo') diff --git a/tools/build_defs/repo/http.bzl b/tools/build_defs/repo/http.bzl index fffe226d7f..727d3a753b 100644 --- a/tools/build_defs/repo/http.bzl +++ b/tools/build_defs/repo/http.bzl @@ -316,6 +316,11 @@ Examples: Targets would specify @my_ssl//jar as a dependency to depend on this jar. + You may also reference files on the current system (localhost) by using "file:///path/to/file" + if you are on Unix-based systems. If you're on Windows, use "file:///c:/path/to/file". In both + examples, note the three slashes (`/`) -- the first two slashes belong to `file://` and the third + one belongs to the absolute path to the file. + Args: name: A unique name for this rule. -- cgit v1.2.3