Skip to content

Linked files, embedded scriban and unit tests#40

Merged
kzu merged 3 commits intomainfrom
tests
Jan 25, 2021
Merged

Linked files, embedded scriban and unit tests#40
kzu merged 3 commits intomainfrom
tests

Conversation

@kzu
Copy link
Copy Markdown
Member

@kzu kzu commented Jan 25, 2021

No description provided.

kzu added 2 commits January 25, 2021 13:40
It's not uncommon to include files from outside the current project cone by linking them so they get properly copied to a desired output location (or shown in the project structure properly). If a `%(Link)` is present, use that instead of `RelativeDir` to determine the constant area and value to generate.

Fixes #38
For cases where more than one analyzer is using Scriban for source generators, we might get conflicts and generation might fail if they use a different version than our generators.

Luckily, scriban now supports source embedding so we can eliminate that risk by leveraging that feature.

Fixes #39
@kzu kzu enabled auto-merge (rebase) January 25, 2021 16:43
This exercises supported features and ensures we don't break stuff accidentally.
@kzu kzu merged commit c8cdc28 into main Jan 25, 2021
@kzu kzu deleted the tests branch January 25, 2021 20:44
@devlooped devlooped locked and limited conversation to collaborators Sep 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant