Skip to content

JUSTPREP_MODULE_KEYWORD

Dewayne VanHoozer edited this page Jun 18, 2022 · 3 revisions

justprep provides a short-hand way of using a Fake Module Convention

"module" is the default value for JUSTPREP_MODULE_KEYWORD.

This allows you to have a source line in your main just file that looks like this:

module magic_spells ~/just_modules/magic_spells.just

justprep removes that line and inserts the following lines into the JUSTPREP_FILENAME_OUT file:

module_magic_spells := "~/just_modules/magic_spells.just"

magic_spells recipe='':
  just -f {{module_magic_spells}} {{recipe}}
Clone this wiki locally