コード例 #1
0
ファイル: test_server.py プロジェクト: ilkerde/fsharpbinding
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

        if sublime.platform() in ("osx", "linux"):
            self.cmd_line = ("mono", (const.path_to_fs_ac_binary(),))
        else:
            assert sublime.platform() == "windows"
            self.cmd_line = (const.path_to_fs_ac_binary(), ())
コード例 #2
0
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

        if sublime.platform() in ('osx', 'linux'):
            self.cmd_line = ('mono', (const.path_to_fs_ac_binary(), ))
        else:
            assert sublime.platform() == 'windows'
            self.cmd_line = (const.path_to_fs_ac_binary(), ())
コード例 #3
0
def get_server():
    global _server
    if _server is None or not _server.proc.stdin:
        if sublime.platform() in ('osx', 'linux'):
            _server = Server('mono', const.path_to_fs_ac_binary())
        else:
            assert sublime.platform() == 'windows'
            _server = Server(const.path_to_fs_ac_binary())
        _server.start()
        pass
    return _server
コード例 #4
0
ファイル: project.py プロジェクト: ChrisDobby/fsharpbinding
 def check_binaries():
     print('FSharp: Checking installed files')
     return os.path.exists(const.path_to_fs_ac_binary())
コード例 #5
0
 def check_binaries():
     print('FSharp: Checking installed files')
     return os.path.exists(const.path_to_fs_ac_binary())