Skip to content

Commit

Permalink
switching to peggy (#103169)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar authored Jun 24, 2021
1 parent 4c2449f commit 9a1f5a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/kbn-interpreter/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@npm//@bazel/typescript:index.bzl", "ts_config", "ts_project")
load("@npm//pegjs:index.bzl", "pegjs")
load("@npm//peggy:index.bzl", "peggy")
load("@build_bazel_rules_nodejs//:index.bzl", "js_library", "pkg_npm")

PKG_BASE_NAME = "kbn-interpreter"
Expand Down Expand Up @@ -37,18 +37,18 @@ TYPES_DEPS = [

DEPS = SRC_DEPS + TYPES_DEPS

pegjs(
peggy(
name = "grammar",
data = [
":grammar/grammar.pegjs"
":grammar/grammar.peggy"
],
output_dir = True,
args = [
"--allowed-start-rules",
"expression,argument",
"-o",
"$(@D)/index.js",
"./%s/grammar/grammar.pegjs" % package_name()
"./%s/grammar/grammar.peggy" % package_name()
],
)

Expand Down

0 comments on commit 9a1f5a4

Please sign in to comment.