diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-09-27 09:57:04 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-09-27 09:57:04 +0900 |
commit | 33cf0b51bf76475dc590e5e7345043d6026bb733 (patch) | |
tree | 25989a0af91a66e14ad9b59b769edd0e3d3816e1 /template/bzl | |
parent | 110799e70ae7325578e79db03568111f4323fff2 (diff) | |
download | vim-sonictemplate-33cf0b51bf76475dc590e5e7345043d6026bb733.tar.gz vim-sonictemplate-33cf0b51bf76475dc590e5e7345043d6026bb733.tar.bz2 vim-sonictemplate-33cf0b51bf76475dc590e5e7345043d6026bb733.zip |
add template for bazel cc BUILD file
Diffstat (limited to 'template/bzl')
-rw-r--r-- | template/bzl/file-BUILD-cc.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/template/bzl/file-BUILD-cc.txt b/template/bzl/file-BUILD-cc.txt new file mode 100644 index 0000000..1208596 --- /dev/null +++ b/template/bzl/file-BUILD-cc.txt @@ -0,0 +1,5 @@ +cc_binary( + name = {{_expr_:json_encode(expand('%:p:h:t'))}} + deps = ["@com_google_absl//absl/strings"], + srcs = {{_expr_:json_encode(glob('*.cc',0,1)+glob('*.cxx',0,1))}} +) |