Skip to content

Fix: file name generation in build dir#22

Merged
stackmystack merged 2 commits intomasterfrom
parser-name-and-prefix
Apr 8, 2025
Merged

Fix: file name generation in build dir#22
stackmystack merged 2 commits intomasterfrom
parser-name-and-prefix

Conversation

@stackmystack
Copy link
Copy Markdown
Owner

  1. Generate the prefix + name + ext file directly in the build dir
  2. Find the generated name, if not, find any valid dll in the target dir, and copy it if it's the only file there. This is mostly useful for parsers with custom scripts like make (e.g. typescript).

Then copy that file to its destination.

PR: #22
Since we're generating the exact file as `prefix + name + ext` in the
build dir, we rely on that name to copy to output dir.

If that name is not present, because the user defined a user script like
make mostly (like in typescript), then take the first match and work
with that.

PR: #22
@stackmystack stackmystack force-pushed the parser-name-and-prefix branch from 080a234 to 6552949 Compare April 8, 2025 11:52
@stackmystack stackmystack merged commit c1cce92 into master Apr 8, 2025
9 checks passed
stackmystack added a commit that referenced this pull request Apr 8, 2025
Then copy that file to its destination.

PR: #22
@stackmystack stackmystack deleted the parser-name-and-prefix branch April 8, 2025 13:09
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