Skip to content

Commit b8b01ce

Browse files
committed
Just: rename _build to _build_dist
1 parent 7f72f87 commit b8b01ce

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

java/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import '../lib.just'
22

3-
build: (_build "java")
3+
build: (_build_dist "java")

misc/just/lib.just

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ import 'semmle-code-stub.just'
2424
exit 1
2525
''' } else { "" } }}
2626

27-
_build LANGUAGE: _require_semmle_code (_maybe_build LANGUAGE)
27+
_build_dist LANGUAGE: _require_semmle_code (_maybe_build_dist LANGUAGE)
2828

2929
[no-exit-message]
30-
_maybe_build LANGUAGE:
30+
_maybe_build_dist LANGUAGE:
3131
{{ cmd_sep }}{{ if SEMMLE_CODE == "" { '# using codeql from PATH, if any' } else { 'cd "$SEMMLE_CODE"; ./build target/intree/codeql-' + LANGUAGE } }}{{ cmd_sep }}
3232

3333

@@ -46,7 +46,7 @@ default_db_checks := """\
4646
{{ tsx }} "{{ source_dir() }}/language-tests.ts" "$@"
4747

4848
[no-cd, no-exit-message]
49-
_ql_format +ARGS: (_maybe_build "nolang")
49+
_ql_format +ARGS: (_maybe_build_dist "nolang")
5050
{{ cmd_sep }}{{ if SEMMLE_CODE != "" { '"$SEMMLE_CODE/target/intree/codeql-nolang/codeql"' } else { 'codeql' } }} query format --in-place $(find {{ ARGS }} -type f -name '*.ql' -or -name '*.qll'){{ cmd_sep }}
5151

5252

rust/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import '../lib.just'
22

33
install: (_bazel "run" "@codeql//rust:install")
44

5-
build: (_build "rust")
5+
build: (_build_dist "rust")
66

77
generate: (_bazel "run" "@codeql//rust/codegen")
88

swift/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import '../lib.just'
33
install: (_bazel "run" "@codeql//swift:install")
44

55
[group('build')]
6-
build: (_build "swift")
6+
build: (_build_dist "swift")
77

88
generate: (_bazel "run" "@codeql//swift/codegen")
99

0 commit comments

Comments
 (0)