Han-Wen Nienhuys
28e7a6d3fe
bazel: bower support
* npm_binary (download tarball packaged npm apps)
* bower_archive (download a zip file, to be put in WORKSPACE)
* bower_component (defining a bower library, with dependency )
* bower_component_bundle (zipping up libraries together)
* js_component (insert plain js file into bower component bundle)
* bower2bazel.py: run bower to find dependencies, generate a .bzl to
define archives and define components
Tested:
python tools/js/bower2bazel.py -w lib/js/bower_archives.bzl -b \
lib/js/bower_components.bzl
bazel build polygerrit-ui:components
unzip -v bazel-bin/polygerrit-ui/components.zip > /tmp/baz
buck build polygerrit-ui:polygerrit_components
unzip -v buck-out/gen/polygerrit-ui/polygerrit_components/polygerrit_components.bower_components.zip > /tmp/buck
diff /tmp/buck /tmp/baz
The diff corresponds to newer file versions pinned through bower2bazel.
Change-Id: I4f33914d4853bcf8afe78b4719d0e0e83b139031
2016-09-29 13:18:19 +02:00
..
2016-09-26 16:42:38 +08:00
2016-09-28 04:58:43 +08:00
2016-09-26 16:42:38 +08:00
2016-09-26 16:42:38 +08:00
2016-09-28 17:32:09 +02:00
2016-09-28 21:17:08 +02:00
2016-09-26 16:42:38 +08:00
2016-09-26 16:42:38 +08:00
2016-09-29 08:48:50 +09:00
2016-09-29 13:18:19 +02:00
2016-09-26 16:42:38 +08:00
2016-09-26 16:42:38 +08:00
2016-09-29 13:18:19 +02:00
2016-09-28 21:17:08 +02:00
2016-09-28 21:17:08 +02:00
2016-09-26 16:42:38 +08:00
2016-09-26 16:42:38 +08:00
2016-09-26 16:42:38 +08:00
2016-09-29 13:18:19 +02:00
2016-09-26 16:42:38 +08:00
2016-09-28 21:17:08 +02:00
2016-09-26 16:42:38 +08:00
2016-09-26 16:42:38 +08:00
2016-09-26 16:42:38 +08:00
2016-09-26 16:42:38 +08:00
2016-09-28 02:10:06 +00:00
2016-09-21 12:10:06 +02:00
2016-09-29 13:18:19 +02:00
2016-09-08 17:12:41 +09:00
2016-09-21 16:24:37 +02:00
2016-09-29 13:18:19 +02:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2016-06-07 18:59:40 +00:00
2016-08-19 04:05:06 +00:00
2016-06-09 09:31:58 +00:00
2016-06-10 06:31:21 +02:00
2016-09-21 11:19:22 +02:00
2013-05-09 13:40:36 +00:00
2016-04-04 20:33:27 -04:00
2016-04-04 20:33:27 -04:00
2016-09-21 11:26:15 +02:00
2013-05-09 13:40:36 +00:00
2016-09-13 15:14:32 +00:00
2016-03-03 23:49:18 -05:00
2013-05-09 13:40:36 +00:00
2016-07-25 13:47:30 -07:00
2016-08-22 09:45:33 -07:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2016-03-15 15:22:39 -07:00
2013-05-09 13:40:36 +00:00
2016-04-01 13:11:02 -04:00
2013-05-09 13:40:36 +00:00
2015-11-12 19:01:53 -05:00
2015-11-12 19:01:53 -05:00
2013-05-09 13:40:36 +00:00
2013-05-13 09:44:25 -07:00
2015-11-12 19:01:53 -05:00
2013-09-10 15:59:25 -07:00
2013-05-09 13:40:36 +00:00
2016-09-21 11:04:46 +02:00
2013-05-09 13:40:36 +00:00
2014-03-03 23:34:46 +00:00
2016-04-08 15:05:13 +09:00