News for hackers. Stuff that matters.
Re:F# 2014 – A Retrospective and Call to Action by alexatkeplar on Wednesday December 31, 2014 @12:15PM (#8820109)
Ah - not necessarily a self-executing file - a fatjar still depends on having the JVM installed on the box. I guess I was asking if there is a way of packaging an F# script or app so that it can be installed on a server with a simple wget from Bintray? So all dependencies vendored in.
Re:F# 2014 – A Retrospective and Call to Action by nerdshark on Wednesday December 31, 2014 @04:53PM (#8821285)
F# applications are compiled to ordinary .NET executables, so you can look at how other .NET applications are packaged on *nix. Basically, you can package them as you would any other software, though it would help to either have .NET executables configured to launch with mono via binfmt_misc (on Linux), or have a small launcher script to do the 'mono myapp.exe' invocation.
Re:F# 2014 – A Retrospective and Call to Action by mmavnn on Wednesday December 31, 2014 @05:23PM (#8821374)
As mentioned above, fsx files can be executed with the correct #! if fsharpi is installed.
Re:F# 2014 – A Retrospective and Call to Action by mmavnn on Wednesday December 31, 2014 @01:11PM (#8820361)
I'd probably look into Paket (a nuget aware package/source dependency manager) for that. Sorry for the short answer, New Years celebrations beckon!