Skip to content

Conversation

@mattem
Copy link
Collaborator

@mattem mattem commented Apr 14, 2022

No description provided.

<!-- Generated with Stardoc: http://skydoc.bazel.build -->

Public API re-exports

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: you can copy the .gitattributes file from rules_js so these generated markdowns don't show in the delta

py_library(
name = "foo",
srcs = ["__init__.py"],
imports = [".."],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one of our design goals is to be similar to rules_python right? Just don't want to start bike-shedding about semantics if that's out of scope.


{{BASH_RLOCATION_FN}}

runfiles_export_envvars
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this bare string is a bit confusing, is it templated?

return struct(
toolchain = py3_toolchain,
path = interpreter_path,
flags = ["-B", "-s", "-I"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a long form for these flags? if not, can we document their meanings here?

flags = ["-B", "-s", "-I"],
)

def _py_binary_rule_imp(ctx):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imp -> impl?

@alexeagle alexeagle merged commit 310ae8c into main Apr 18, 2022
@alexeagle alexeagle deleted the feat/pylark branch April 18, 2022 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants