Skip to content

Commit 1c7012a

Browse files
committed
fix (build): Invoke evilurl via Bazel
1 parent baf5bcf commit 1c7012a

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

BUILD

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,22 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
17+
sh_test(
18+
name = "evilurl",
19+
srcs = ["tools/evilurl/test.bash"],
20+
data = glob(
21+
# TODO How to? ["java/**/*.java"],
22+
[
23+
"**/*.java",
24+
],
25+
exclude = [
26+
# "bazel-bin/evilurl.runfiles/**",
27+
"bazel-bin/external/**",
28+
"bazel-bin/java/**",
29+
"bazel-out/**",
30+
# "bazel-testlogs/**",
31+
# "bazel-enola/**",
32+
],
33+
),
34+
)

test.bash

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ fi
3939

4040
tools/version/version.bash
4141

42-
# TODO Remove this once evilurl is Bazel test BUILD integrated...
43-
tools/evilurl/test.bash
44-
4542
# https://github.com/bazelbuild/bazel/issues/4257
4643
echo $ Bazel testing...
4744
if [ -z "${CI:-""}" ]; then

0 commit comments

Comments
 (0)