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 develop --global option #970

Merged
merged 4 commits into from
Jan 18, 2022
Merged

Conversation

bobeff
Copy link
Contributor

@bobeff bobeff commented Dec 20, 2021

An option for creating the old-style Nimble link files is added. Those files are created by nimble develop when called with the --global option. They are placed in a special links directory and they are read by Nim in order to have some kind of develop mode functionality when compiling stand-alone files which are not part of a Nimble package. Nimble itself treats them as a global develop file used only when no local one is found.

Related to #948

An option for creating the old-style Nimble link files is added. Those
files are created by `nimble develop` when called with the `--global`
option. They are placed in a special `links` directory and they are read
by Nim in order to have some kind of develop mode functionality when
compiling stand-alone files which are not part of a Nimble package.
Nimble itself ignores this new directory and files in it. When building
with Nimble the new local develop mode should be used instead.

Related to nim-lang#948
@bobeff bobeff force-pushed the feature/link-files branch 2 times, most recently from 560fd70 to 2f97935 Compare December 21, 2021 17:12
Nimble link files created by `nimble develop --global` now are treated
as a global develop file used only when no local develop file is found.
This allows Nimble to understand them and to work with them seamlessly
as with an ordinary develop file.

Related to nim-lang#948
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.

None yet

2 participants