not possible to compile under linux with fsharp
nhoudelot opened this issue · 0 comments
nhoudelot commented
Hello,
it seems impossible to compile shader_minifier under linux (Ubuntu 22.04) anymore
at first, bash.sh seems outdated
I figured out, how to update it, and could compile it up to version 1.3.1
with :
fsharpc --standalone $references src/{options.fs,ast.fs,printer.fs,formatter.fs,renamer.fs,rewriter.fs,parse.fs,api.fs,main.fs} -o shader_minifier.exe
but starting 1.3.2, got lot's of :
/build/shader-minifier-1.3.2/src/ast.fs(141,5): warning FS0058: Possible incorrect indentation: this token is offside of context started at position (140:17). Try indenting this token further or using standard formatting conventions.
...
with a final
...
/build/shader-minifier-1.3.2/src/rewriter.fs(274,17): error FS0374: Invalid expression on left of assignment
later versions produce more errors
so I guess fsharp wasn't updated, unlike their windows counterpart.
and you drop support of compiling this tool with Mono
maybe you should remove bash.sh, and make it more clear ^^