Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Justfiles extendable. ? #906

Closed
pshanoop opened this issue Jul 16, 2021 · 2 comments
Closed

Is Justfiles extendable. ? #906

pshanoop opened this issue Jul 16, 2021 · 2 comments

Comments

@pshanoop
Copy link

pshanoop commented Jul 16, 2021

We have a Mono-Repo. Where we have 30+ services (growing), Each of these services have its own Makefiles, Most build scripts are repeated there so changing anything takes many boring hours.

Now, Just come over this the justfiles. Is there any possibility to have extendability.

For example, We have a justfile with all those common functions we need for all micro-services. This justfile somehow refered/included to all other micro-service's justfiles.

Btw, thanks for making it. 👍🏾

@casey
Copy link
Owner

casey commented Jul 17, 2021

Unfortunately nothing like that is possible at the moment. Some kind of module system or import statement is a longstanding desire, but I just haven't done it yet. I really want to do it, because a lot of people have asked for it, but I can't promise any specific timeline Check out #383 for discussion of modules, and #237 for discussion of some kind of import statement.

There is a pre-processor by @MadBomber that might do what you want, although I think the error messages might suffer a bit: https://github.com/MadBomber/justprep

Btw, thanks for making it. 👍🏾

Thank you for the kind words! It definitely keeps me motivated :3

@casey casey closed this as completed Jul 17, 2021
@pshanoop
Copy link
Author

Thanks for the reply and link,
I will look into justprep. Keep the energy, You certainly helped many :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants