Add example build runner scripts and config for Zig code completion.

This commit is contained in:
Foke Singh 2023-11-21 14:55:34 +00:00
parent ec37c8f731
commit 737f7cbdee
4 changed files with 172 additions and 1537 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" cd "$(dirname "${BASH_SOURCE[0]}")"
cd "$(bazel info workspace)"
exec bazel run -- @buildifier_prebuilt//:buildifier "$@" exec bazel run -- @buildifier_prebuilt//:buildifier "$@"

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" cd "$(dirname "${BASH_SOURCE[0]}")"
exec bazel run --config=silent @zml//third_party/zls:zls -- "${@}" cd "$(bazel info workspace)"
exec bazel run -- @zml//third_party/zls:zls "${@}"

View File

@ -1,8 +1,2 @@
{ {
"build_options": [
{
"name": "cmd",
"value": "bazel run @zml//:completion"
}
]
} }