Skip to content

Commit

Permalink
Enable applications to append to prebuild Make rule in moose.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
cticenhour authored and Your Name committed Aug 28, 2024
1 parent 3e7096e commit 62c4cca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions framework/moose.mk
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,11 @@ endif
wasp_submodule_status:
@if [ x$(wasp_submodule_message) != "x" ]; then printf $(wasp_submodule_message); exit 1; fi

# pre-make for checking current dependency versions and showing useful warnings
# if things like conda packages are out of date. the "-" in "@-" means that
# it is allowed to not exit 0
prebuild:
# Pre-make for checking current dependency versions and showing useful warnings
# if things like conda packages are out of date. The "-" in "@-" means that
# it is allowed to not exit 0. "::" means that the rule can be appended by
# applications that require prebuild steps.
prebuild::
@-python3 $(FRAMEWORK_DIR)/../scripts/premake.py

wasp_submodule_status $(moose_revision_header) $(moose_LIB): | prebuild
Expand Down

0 comments on commit 62c4cca

Please sign in to comment.