Carmelo Cascone | d33d3b4 | 2019-06-18 12:12:36 -0700 | [diff] [blame] | 1 | load("//tools/build/bazel:jdk_genrule.bzl", genrule = "jdk_genrule") |
| 2 | |
Ray Milkey | d7be362 | 2018-07-12 10:29:21 -0700 | [diff] [blame] | 3 | filegroup( |
| 4 | name = "_tools-gui-gulp-files", |
| 5 | srcs = [ |
Ray Milkey | 6b3775a | 2018-06-28 11:18:44 -0700 | [diff] [blame] | 6 | "package.json", |
| 7 | "gulpfile.babel.js", |
Ray Milkey | d7be362 | 2018-07-12 10:29:21 -0700 | [diff] [blame] | 8 | ] + glob(["gulp-tasks/**"]), |
| 9 | ) |
| 10 | |
| 11 | genrule( |
| 12 | name = "tools-gui-gulp", |
| 13 | srcs = [":_tools-gui-gulp-files"], |
Thomas Vachuska | 3432862 | 2018-08-03 09:21:17 -0700 | [diff] [blame] | 14 | outs = ["tools-gui-gulp.jar"], |
Sean Condon | 0bd777c | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 15 | cmd = "cd tools/gui && find . -type f -exec touch -t 201806280000 {} \\; && jar Mcf ../../$@ .", |
Ray Milkey | d7be362 | 2018-07-12 10:29:21 -0700 | [diff] [blame] | 16 | visibility = ["//visibility:public"], |
Ray Milkey | 6b3775a | 2018-06-28 11:18:44 -0700 | [diff] [blame] | 17 | ) |