From 8a142fef810435ca0f45b410e67c3a6b29919c75 Mon Sep 17 00:00:00 2001 From: David Chen Date: Fri, 6 May 2016 07:57:17 +0000 Subject: Add build targets for constructing the Bazel.io Jekyll tree. This patch adds pkg_tar build targets to site/, which can be used to combine the Jekyll files under site/ with static Bootstrap and Font Awesome resources under third_party. Combining the site files with the generated Build Encyclopedia and Skylark Library documentation will be done in a future change. -- MOS_MIGRATED_REVID=121654239 --- third_party/css/bootstrap/BUILD | 8 +++++--- third_party/css/font_awesome/BUILD | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'third_party/css') diff --git a/third_party/css/bootstrap/BUILD b/third_party/css/bootstrap/BUILD index 18fc491cc1..42c7a9dd1d 100644 --- a/third_party/css/bootstrap/BUILD +++ b/third_party/css/bootstrap/BUILD @@ -9,14 +9,16 @@ filegroup( filegroup( name = "bootstrap_css", srcs = [ - "css/boostrap.css", - "css/boostrap.css.map", + "css/bootstrap.css", + "css/bootstrap.css.map", "css/bootstrap.min.css", "css/bootstrap.min.css.map", ], + visibility = ["//site:__pkg__"], ) filegroup( name = "bootstrap_images", - srcs = glob(["glyphicons-halflings-regular.*"]), + srcs = glob(["fonts/glyphicons-halflings-regular.*"]), + visibility = ["//site:__pkg__"], ) diff --git a/third_party/css/font_awesome/BUILD b/third_party/css/font_awesome/BUILD index 129178c81e..a58e75ed7a 100644 --- a/third_party/css/font_awesome/BUILD +++ b/third_party/css/font_awesome/BUILD @@ -12,9 +12,11 @@ filegroup( "css/font-awesome.css", "css/font-awesome.min.css", ], + visibility = ["//site:__pkg__"], ) filegroup( name = "font_awesome_font", srcs = glob(["fonts/fontawesome-webfont.*"]), + visibility = ["//site:__pkg__"], ) -- cgit v1.2.3