8000 feat: inline modules by corvusrabus · Pull Request #2715 · casey/just · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: inline modules #2715

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

corvusrabus
Copy link
Contributor

Draft for non-nested inline modules according to the syntax mainly agreed upon in #2442.

Syntax:

# foo is an inline module!
foo::
  hello:
    @echo "Hello from inside the inline foo module"

Contributes to #2252.

I think there's still a couple of open questions that need to be clarified before something like this PR can be merged

  • Should the entire module code depending on filepaths be refactored to accommodate for inline modules that don't directly correspond to a file.
  • what should module_directory and module_directory do when used inside an inline module? Should probably just fail?
  • Probably more

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

Successfully merging this pull request may close these issues.

1 participant
0