Buck: lua_binary()
Support Ukraine. Help Provide Humanitarian Aid to Ukraine.


This is liable to change in the future.

A lua_library() rule is used to group together Lua sources to be packaged into a top-level lua_binary rule.


  • name (required) #

    The short name for this build target.

  • main_module (required) #

    The module which serves as the entry point for this rule.

  • deps (defaults to []) #

    lua_library rules to this binary will access.

  • visibility (defaults to []) #

    List of build target patterns that identify the build rules that can include this rule as a dependency, for example, by listing it in their deps or exported_deps attributes. For more information, see visibility.

  • licenses (defaults to []) #

    Set of license files for this library. To get the list of license files for a given build rule and all of its dependencies, you can use buck query.

  • labels (defaults to []) #

    Set of arbitrary strings which allow you to annotate a build rule with tags that can be searched for over an entire dependency tree using buck query attrfilter().


  name = 'tailer',
  main_module = 'tailer',
  deps = [

  name = 'tailerutils',
  srcs = glob(['*.lua']),