Nevensky / SublimeFortran

Fortran syntax highlighting for Sublime Text 3
47 stars 30 forks source link

The glitch on the build system [Win 10]? #26

Open 8fdafs2 opened 8 years ago

8fdafs2 commented 8 years ago

I cannot build or run until I changed the ' to \" in shell_cmd lines in GFortran.sublime-build. Have no idea it's only my machine's problem or this issue has occurred on all windows platform.

{
    "shell_cmd": "gfortran \"${file}\" -o \"${file_path}/${file_base_name}\"",
    "file_regex": "^(?xi:( ^[/] [^:]* ) : (\\d+) : (\\d+) :)",
    "working_dir": "${file_path}",
    "selector": "source.modern-fortran, source.fixedform-fortran",
    "syntax": "GFortranBuild.sublime-syntax",

    "variants":
    [
        {
            "name": "Run",
            "shell_cmd": "gfortran \"${file}\" -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\""
        }
    ]
}
jokervTv commented 7 years ago

Thanks, i have the same trouble. You help me solve the problem.