bazel: generate polygerrit_ui.zip.

Tested:
  verified that polygerrit-ui/app:polygerrit_ui zip contain same files
  for bazel and buck.

Change-Id: I5fb1abbc6e68a593d6af0b7b1811608eb11f7e4c
This commit is contained in:
Han-Wen Nienhuys
2016-10-20 14:26:11 +02:00
parent b57bc7b36b
commit 3254ec7492
5 changed files with 74 additions and 46 deletions

View File

@@ -2,16 +2,13 @@ load('//tools/bzl:genrule2.bzl', 'genrule2')
# Source Code Pro. Version 2.010 Roman / 1.030 Italics
# https://github.com/adobe-fonts/source-code-pro/releases/tag/2.010R-ro%2F1.030R-it
genrule2(
filegroup(
name = 'sourcecodepro',
cmd = 'zip -rq $@ $(SRCS)',
srcs = [
'SourceCodePro-Regular.woff',
'SourceCodePro-Regular.woff2'
],
out = 'sourcecodepro.zip',
# TODO(hanwen): fix this
# license = 'OFL1.1',
data = [ "//lib:LICENSE-OFL1.1" ],
visibility = ['//visibility:public'],
)