blob: 0cec9eaa1d9e01ea7bca8d0693a294d17fd09d71 [file] [log] [blame]
Carmelo Casconed33d3b42019-06-18 12:12:36 -07001load("//tools/build/bazel:jdk_genrule.bzl", genrule = "jdk_genrule")
2
Ray Milkeyd7be3622018-07-12 10:29:21 -07003filegroup(
4 name = "_tools-gui-gulp-files",
5 srcs = [
Ray Milkey6b3775a2018-06-28 11:18:44 -07006 "package.json",
7 "gulpfile.babel.js",
Ray Milkeyd7be3622018-07-12 10:29:21 -07008 ] + glob(["gulp-tasks/**"]),
9)
10
11genrule(
12 name = "tools-gui-gulp",
13 srcs = [":_tools-gui-gulp-files"],
Thomas Vachuska34328622018-08-03 09:21:17 -070014 outs = ["tools-gui-gulp.jar"],
15 cmd = "cd tools/gui && find . -type f -exec touch -t 201806280000 {} \; && jar Mcf ../../$@ .",
Ray Milkeyd7be3622018-07-12 10:29:21 -070016 visibility = ["//visibility:public"],
Ray Milkey6b3775a2018-06-28 11:18:44 -070017)