Skip to content

Commit

Permalink
[GR-54630] Do not clean anything on mx gate -o/--omit-clean
Browse files Browse the repository at this point in the history
PullRequest: mx/1804
  • Loading branch information
eregon committed Jun 10, 2024
2 parents 94455c5 + 4cf8fa1 commit ca1e63a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mx/_impl/mx.py
Original file line number Diff line number Diff line change
Expand Up @@ -18173,7 +18173,7 @@ def alarm_handler(signum, frame):
_CACHE_DIR = get_env('MX_CACHE_DIR', join(dot_mx_dir(), 'cache'))

# The version must be updated for every PR (checked in CI) and the comment should reflect the PR's issue
version = VersionSpec("7.25.11") # GR-54613 Do not generate IntelliJ "artifacts" by default in mx intellijinit
version = VersionSpec("7.25.12") # GR-54630

_mx_start_datetime = datetime.utcnow()

Expand Down
3 changes: 2 additions & 1 deletion src/mx/_impl/mx_gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,8 @@ def _run_gate(cleanArgs, args, tasks):
if mx.command_function('pylint')(['--primary']) != 0:
mx.abort_or_warn('Pylint not configured correctly. Cannot execute Pylint task.', args.strict_mode)

gate_clean(cleanArgs, tasks, tags=[Tags.build, Tags.fullbuild, Tags.ecjbuild])
if not args.noClean:
gate_clean(cleanArgs, tasks, tags=[Tags.build, Tags.fullbuild, Tags.ecjbuild])

with Task('Distribution Overlap Check', tasks, tags=[Tags.style]) as t:
if t:
Expand Down

0 comments on commit ca1e63a

Please sign in to comment.