|
61 | 61 | from easybuild.framework.easyconfig.tools import det_easyconfig_paths, dump_env_script, get_paths_for
|
62 | 62 | from easybuild.framework.easyconfig.tools import parse_easyconfigs, review_pr, run_contrib_checks, skip_available
|
63 | 63 | from easybuild.framework.easyconfig.tweak import obtain_ec_for, tweak
|
64 |
| -from easybuild.tools.config import find_last_log, get_repository, get_repositorypath, build_option |
| 64 | +from easybuild.tools.config import find_last_log, get_repository, get_repositorypath, build_option, update_build_option |
65 | 65 | from easybuild.tools.containers.common import containerize
|
66 | 66 | from easybuild.tools.docs import list_software
|
67 | 67 | from easybuild.tools.environment import restore_env
|
@@ -694,6 +694,16 @@ def main(args=None, logfile=None, do_build=None, testing=False, modtool=None, pr
|
694 | 694 | index = load_index(options.create_index)
|
695 | 695 | print_msg("Index created at %s (%d files)" % (index_fp, len(index)), prefix=False)
|
696 | 696 |
|
| 697 | + if options.developer: |
| 698 | + pth = build_option('developer') |
| 699 | + if not os.path.exists(pth): |
| 700 | + raise EasyBuildError("Developer mode path %s does not exist" % pth) |
| 701 | + |
| 702 | + pth = os.path.abspath(pth) |
| 703 | + options.developer = pth |
| 704 | + update_build_option('developer', pth) |
| 705 | + print_msg("Developer mode running from %s" % build_option('developer'), log=_log) |
| 706 | + |
697 | 707 | # non-verbose cleanup after handling GitHub integration stuff or printing terse info
|
698 | 708 | early_stop_options = [
|
699 | 709 | options.add_pr_labels,
|
|
0 commit comments