Skip to content

Commit 8a4d879

Browse files
kirklandsignfacebook-github-bot
authored andcommitted
export_example should be python_binary (#91)
Summary: Pull Request resolved: #91 Should be a binary, not library Reviewed By: dbort Differential Revision: D48523786 fbshipit-source-id: 650366d9166824187f4833a8121ffdf01dc4cc6b
1 parent 73c6cb3 commit 8a4d879

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/export/TARGETS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
load("@fbcode_macros//build_defs:python_binary.bzl", "python_binary")
12
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
23

34
python_library(
@@ -10,11 +11,12 @@ python_library(
1011
],
1112
)
1213

13-
python_library(
14+
python_binary(
1415
name = "export_example",
1516
srcs = [
1617
"export_example.py",
1718
],
19+
main_module = "executorch.examples.export.export_example",
1820
deps = [
1921
":utils",
2022
"//executorch/examples/models:models",

0 commit comments

Comments
 (0)