File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,16 @@ _run_in DIR +ARGS:
7272_ run_in_semmle_code + ARGS : _require_semmle_code (_run_in " $SEMMLE_CODE" ARGS)
7373
7474[no-cd , positional-arguments, no-exit-message ]
75- _ just + ARGS :
75+ @_ just + ARGS :
76+ echo " -> just $@"
7677 " {{ JUST_EXECUTABLE }} " " $@"
7778
79+ [no-cd , positional-arguments ]
80+ @_ if_not_on_ci_just + ARGS :
81+ if [ " ${GITHUB_ACTIONS:-}" != " true" ]; then \
82+ echo " -> just $@" ; \
83+ " $JUST_EXECUTABLE" " $@" ; \
84+ fi
85+
7886[no-cd ]
7987_ black * ARGS = " .": (_run " uv" " run" " black" ARGS)
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import '../lib.just'
22
33install : (_bazel " run" " @codeql//rust:install" )
44
5- build : (_build_dist " rust" )
5+ build : (_if_not_on_ci_just " generate" source_dir ()) ( _build_dist " rust" )
66
77generate : (_bazel " run" " @codeql//rust/codegen" )
88
Original file line number Diff line number Diff line change 1- import " ../../../misc/just/lib.just"
1+
2+ import " ../../../lib.just"
23
34
45[no-cd ]
5- test * ARGS = " .": (_just " generate" ) (_integration_test ARGS)
6+ test * ARGS = " .": (_if_not_on_ci_just " generate" source_dir () ) (_integration_test ARGS)
67
78# TODO in separate PR
89# [no-cd]
You can’t perform that action at this time.
0 commit comments