your json file has many errors. i fixed them. my final file
C:\CudaText\data\buildsystems\cobol.sublime-build
is
Code: Select all
{
"file_patterns": ["*.cob", "*.cbl", "*.cpy"],
"name": "Compile",
"cmd": ["c:\\GnuCOBOL\\bin\\cobc.exe", "-x", "-std=mf", "c:\\work", "$file_name"],
"working_dir": "$file_path",
"file_regex": "^([^:]+):([0-9]+):",
"variants": [
{
"name": "Run",
"cmd": ["$file_base_name"]
}
]
}
i created fake Cobol file C:\Work\new.cbl
and i run the command in the Cud's menu: "Plugins / Runner / Build" and it shows in the bottom panel of Cud:
-- [10:05:46] Building: cobol: new.cbl
-- Command: ['c:\\GnuCOBOL\\bin\\cobc.exe', '-x', '-std=mf', 'c:\\work', 'new.cbl']
-- Working dir: C:\Work
configuration error:
/mingw/share/gnucobol/config\mf.conf: No such file or directory
/mingw/share/gnucobol/config\default.conf: No such file or directory
-- Done (0.2s), return code: 1
yes , this is close to solution now.