Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions easybuild/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,10 @@ def main(args=None, logfile=None, do_build=None, testing=False, modtool=None):
easyconfigs, generated_ecs = parse_easyconfigs(paths, validate=not options.inject_checksums)

# handle --check-contrib & --check-style options
if run_contrib_style_checks([ec['ec'] for ec in easyconfigs], options.check_contrib, options.check_style):
clean_exit(logfile, eb_tmpdir, testing)
if run_contrib_style_checks([ec['ec'] for ec in easyconfigs], options.check_contrib or new_update_preview_pr,
options.check_style):
if not new_update_preview_pr:
clean_exit(logfile, eb_tmpdir, testing)

# verify easyconfig filenames, if desired
if options.verify_easyconfig_filenames:
Expand Down