mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
chore: use justfile_directory in just file (#18146)
This was driving me crazy
This commit is contained in:
@@ -17,7 +17,7 @@ exec *args:
|
|||||||
# Start `codex exec-server` and run codex-tui.
|
# Start `codex exec-server` and run codex-tui.
|
||||||
[no-cd]
|
[no-cd]
|
||||||
tui-with-exec-server *args:
|
tui-with-exec-server *args:
|
||||||
./scripts/run_tui_with_exec_server.sh "$@"
|
{{ justfile_directory() }}/scripts/run_tui_with_exec_server.sh "$@"
|
||||||
|
|
||||||
# Run the CLI version of the file-search crate.
|
# Run the CLI version of the file-search crate.
|
||||||
file-search *args:
|
file-search *args:
|
||||||
@@ -64,18 +64,18 @@ bazel-lock-update:
|
|||||||
|
|
||||||
[no-cd]
|
[no-cd]
|
||||||
bazel-lock-check:
|
bazel-lock-check:
|
||||||
./scripts/check-module-bazel-lock.sh
|
{{ justfile_directory() }}/scripts/check-module-bazel-lock.sh
|
||||||
|
|
||||||
bazel-test:
|
bazel-test:
|
||||||
bazel test --test_tag_filters=-argument-comment-lint //... --keep_going
|
bazel test --test_tag_filters=-argument-comment-lint //... --keep_going
|
||||||
|
|
||||||
[no-cd]
|
[no-cd]
|
||||||
bazel-clippy:
|
bazel-clippy:
|
||||||
bazel_targets="$(./scripts/list-bazel-clippy-targets.sh)" && bazel build --config=clippy -- ${bazel_targets}
|
bazel_targets="$({{ justfile_directory() }}/scripts/list-bazel-clippy-targets.sh)" && bazel build --config=clippy -- ${bazel_targets}
|
||||||
|
|
||||||
[no-cd]
|
[no-cd]
|
||||||
bazel-argument-comment-lint:
|
bazel-argument-comment-lint:
|
||||||
bazel build --config=argument-comment-lint -- $(./tools/argument-comment-lint/list-bazel-targets.sh)
|
bazel build --config=argument-comment-lint -- $({{ justfile_directory() }}/tools/argument-comment-lint/list-bazel-targets.sh)
|
||||||
|
|
||||||
bazel-remote-test:
|
bazel-remote-test:
|
||||||
bazel test --test_tag_filters=-argument-comment-lint //... --config=remote --platforms=//:rbe --keep_going
|
bazel test --test_tag_filters=-argument-comment-lint //... --config=remote --platforms=//:rbe --keep_going
|
||||||
@@ -97,20 +97,20 @@ write-app-server-schema *args:
|
|||||||
|
|
||||||
[no-cd]
|
[no-cd]
|
||||||
write-hooks-schema:
|
write-hooks-schema:
|
||||||
cargo run --manifest-path ./codex-rs/Cargo.toml -p codex-hooks --bin write_hooks_schema_fixtures
|
cargo run --manifest-path {{ justfile_directory() }}/codex-rs/Cargo.toml -p codex-hooks --bin write_hooks_schema_fixtures
|
||||||
|
|
||||||
# Run the argument-comment Dylint checks across codex-rs.
|
# Run the argument-comment Dylint checks across codex-rs.
|
||||||
[no-cd]
|
[no-cd]
|
||||||
argument-comment-lint *args:
|
argument-comment-lint *args:
|
||||||
if [ "$#" -eq 0 ]; then \
|
if [ "$#" -eq 0 ]; then \
|
||||||
bazel build --config=argument-comment-lint -- $(./tools/argument-comment-lint/list-bazel-targets.sh); \
|
bazel build --config=argument-comment-lint -- $({{ justfile_directory() }}/tools/argument-comment-lint/list-bazel-targets.sh); \
|
||||||
else \
|
else \
|
||||||
./tools/argument-comment-lint/run-prebuilt-linter.py "$@"; \
|
{{ justfile_directory() }}/tools/argument-comment-lint/run-prebuilt-linter.py "$@"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[no-cd]
|
[no-cd]
|
||||||
argument-comment-lint-from-source *args:
|
argument-comment-lint-from-source *args:
|
||||||
./tools/argument-comment-lint/run.py "$@"
|
{{ justfile_directory() }}/tools/argument-comment-lint/run.py "$@"
|
||||||
|
|
||||||
# Tail logs from the state SQLite database
|
# Tail logs from the state SQLite database
|
||||||
log *args:
|
log *args:
|
||||||
|
|||||||
Reference in New Issue
Block a user