Skip to content

Instantly share code, notes, and snippets.

@Zeex
Last active January 10, 2016 09:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zeex/8c6539bb95c8b6198593 to your computer and use it in GitHub Desktop.
Save Zeex/8c6539bb95c8b6198593 to your computer and use it in GitHub Desktop.
Build Pawn scripts in Atom with https://atom.io/packages/build
{
"cmd": "pawncc",
"args": [
"-i$SAMP_SERVER_ROOT/plugins/crashdetect/include",
"-i$SAMP_SERVER_ROOT/plugins/jit/include",
"-i$SAMP_SERVER_ROOT/plugins/profiler/include",
"-i$SAMP_SERVER_ROOT/include",
"-i$SAMP_SERVER_ROOT/include/amx_assembly",
"-i$SAMP_SERVER_ROOT/include/YSI",
"-i$SAMP_SERVER_ROOT/include/YSI/YSI",
"-i$SAMP_SERVER_ROOT/pawno/include",
"-\\;+",
"-\\(+",
"-d2",
"$FILE_ACTIVE"
],
"sh": false,
"cwd": "{FILE_ACTIVE_PATH}",
"errorMatch": "^(?<file>.+)\\((?<line>[0-9]+)\\)",
"env": {
"FILE_ACTIVE": "{FILE_ACTIVE}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment