Repository navigation
Replies: 1 comment
|
Yes—this is supported on stable Just now. Since 1.18.0, use # root justfile
import 'folder/project-a.just'
import 'folder/project-b.just'
import 'folder/project-c.just'
cmd1:
@echo 'Output something...'The imported recipes and variables share the importing module's namespace, so keep their names unique as you described. Import paths are relative to the justfile containing the import, and imported files can themselves import other files. No If your project files contain overlapping recipe names such as mod project_a 'folder/project-a.just'
mod project_b 'folder/project-b.just'
mod project_c 'folder/project-c.just'Then invoke a recipe as Check the installed version with |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
we are currently using just for some of our projects.
For this we would like to use as we have always done before with makefiles the inclusion of other make or justfiles. Here as an example:
primary justfile inside root folder:
In the individual project justfiles there are further commands and also constants with a unique identifier.
Is this currently already possible with just?
I only found the include function which allows to include only one file in a just file. Also the parameter "--unstable" prevents us from using this actively in our projects.
Thanks for your help.
All reactions