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

--out-file doesn't respect file casing #23

Closed
baronfel opened this issue Jan 1, 2024 · 5 comments
Closed

--out-file doesn't respect file casing #23

baronfel opened this issue Jan 1, 2024 · 5 comments

Comments

@baronfel
Copy link

baronfel commented Jan 1, 2024

I was trying this on the Ionide helpers and discovered that the --out-file parameter tolower's the output file name:

$ npx @glutinum/cli node_modules/vscode-languageclient/node.d.ts --out-file src/Fable.Import.VSCode.LanguageClient.fs

Generating binding file for node_modules/vscode-languageclient/node.d.ts
readNode: Unsupported kind 278
Bindings written to: D:\Code\ionide-vscode-helpers\src\fable.import.vscode.languageclient.fs
Success!
@MangelMaxime
Copy link
Contributor

Ah yes, I know why it does that.

It is funny has this whole journey started because of VSCode bindings for me creating an extension. And I am really surprised that i doesn't crash on these bindings.

Version 0.3.1 has been released to fix this problem

@baronfel
Copy link
Author

baronfel commented Jan 2, 2024

Oh Glutinum does crash on those bindings, but I was starting with small issues :)

@MangelMaxime
Copy link
Contributor

But it says success in the console 😇

@baronfel
Copy link
Author

baronfel commented Jan 2, 2024

Oh, that one. The bindings were generated but they were empty because the source typing's file just imports from other files.

@MangelMaxime
Copy link
Contributor

Oh I see, that explains why it "worked" then. 🤣

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

No branches or pull requests

2 participants