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

Add export setting to export all variables #767

Merged
merged 4 commits into from
Mar 26, 2021
Merged

Add export setting to export all variables #767

merged 4 commits into from
Mar 26, 2021

Conversation

casey
Copy link
Owner

@casey casey commented Mar 25, 2021

Add a setting that exports all variables by default. This includes
assignments as well as parameters.

@casey casey force-pushed the set-export branch 2 times, most recently from 150970c to 36d1f63 Compare March 25, 2021 23:06
Add a setting that exports all variables by default, regardless of
whether they use the `export` keyword. This includes assignments as well
as parameters.

Just does dependency analysis of variable uses, allowing variables to be
used out of order in assignments, as long as there are no circular
dependencies.

However, use of environment variable is not known to Just, so exported
variables are only exported to child scopes, since depenency analysis
cannot be done.
@casey casey merged commit b66a979 into master Mar 26, 2021
@casey casey deleted the set-export branch March 26, 2021 00:00
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