Skip to content

Commit

Permalink
Moved BUILD rules for SQL experiment.
Browse files Browse the repository at this point in the history
  • Loading branch information
blais committed Apr 10, 2022
1 parent 84cb9f6 commit b400e75
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
1 change: 1 addition & 0 deletions beancount/core/BUILD
Expand Up @@ -12,6 +12,7 @@ package(default_visibility = [
"//experiments/plugins:__pkg__",
"//experiments/sharing:__pkg__",
"//experiments/v3/protos:__pkg__",
"//experiments/sql:__pkg__",

# Temporary access from C core and parser.
"//beancount/ccore:__pkg__",
Expand Down
20 changes: 0 additions & 20 deletions beancount/scripts/BUILD
Expand Up @@ -145,23 +145,3 @@ py_test(
"//beancount/utils:test_utils",
],
)

py_library(
name = "sql",
srcs = ["sql.py"],
deps = [
"//beancount/core:data",
"//beancount:loader",
"//beancount/utils:misc_utils",
"//beancount/parser:version",
],
)

py_test(
name = "sql_test",
srcs = ["sql_test.py"],
deps = [
"//beancount/scripts:sql",
"//beancount/utils:test_utils",
],
)
19 changes: 19 additions & 0 deletions experiments/sql/BUILD
@@ -0,0 +1,19 @@
py_library(
name = "sql",
srcs = ["sql.py"],
deps = [
"//beancount/core:data",
"//beancount:loader",
"//beancount/utils:misc_utils",
"//beancount/parser:version",
],
)

py_test(
name = "sql_test",
srcs = ["sql_test.py"],
deps = [
":sql",
"//beancount/utils:test_utils",
],
)

0 comments on commit b400e75

Please sign in to comment.