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 N4hom committed Jul 30, 2024
1 parent 48696ef commit dc1aa9a
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 dc1aa9a

Please sign in to comment.