Created
October 2, 2014 15:31
-
-
Save dominik-hadl/6c24b3836c435dacb674 to your computer and use it in GitHub Desktop.
A sublime build system for Free Pascal, also with option to open & run in iTerm app when Cmd+Shift+B pressed, otherwise just normally compiles with fpc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"shell_cmd": "fpc \"${file}\" -o\"${file_path}/${file_base_name}\"", | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.pascal", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"shell_cmd": "fpc \"${file}\" -o\"${file_path}/${file_base_name}\" && open -a iTerm.app \"${file_path}/${file_base_name}\"", | |
"shell":true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get this error:
[Finished in 0.1s with exit code 1]
[shell_cmd: fpc "D:\Drive do bode\5º Período\Grafos\II unidade\avaliacaografos\CódigoMarcelo\GRAFOS.PAS" -o"D:\Drive do bode\5º Período\Grafos\II unidade\avaliacaografos\CódigoMarcelo/GRAFOS"]
[dir: D:\Drive do bode\5º Período\Grafos\II unidade\avaliacaografos\CódigoMarcelo]
[path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Users\Dovakin\AppData\Local\Programs\Python\Python36-32\Scripts;C:\Users\Dovakin\AppData\Local\Programs\Python\Python36-32;C:\Users\Dovakin\AppData\Local\Microsoft\WindowsApps;]
Can you help me please?