-
Install SublimeREPL package from package control
-
Install scriptcs package from package control
-
Download this experimental build of scriptcs and extract to some folder on your machine
-
go to ~/.config/sublime-text-2/Packages/SublimeREPL/config/ScriptCS and open Main.sublime-menu file
-
Update the "linux" path in that file to "linux": ["mono", "PATH/TO/YOUR/scriptcs.exe", "-modules", "mono", "-repl"]
-
Profit. Open Sublime > Tools > SublimeREPL > ScriptCS to start the REPL
-
-
Save filipw/10454874 to your computer and use it in GitHub Desktop.
in root you have scriptcs.exe binaries (just so that the exe would start), while in bin you have binaries specific for the mono engine, which are loaded at startup and used to swap the default scriptcs Win-centric internals with ones that run on mono.
The setup is not ideal, but it's a work in progress. The goal is to have no bin at all.
On OS X, the path to Main.sublime-menu
is ~/Library/Application Support/Sublime Text 3/Packages/SublimeREPL/config/ScriptCS
on Sublime Text 3.
@yuxhuang thanks for that!
@filipw did you include the mono version of nuget.core in here?
just updated to it
Thinking for OSX i might build a bash script for starting up scriptcs with the mono engine, so you don't have to type out as much :) The bash script is here it's really basic at the moment but then i did just scratch up quickly in the browser for a poc. I will try make that a little more extensive as the day goes on!
Nice one @BrendanThompsonra
It seems files in scriptcs are done twice? in root and in bin..