14 lines
589 B
JSON
14 lines
589 B
JSON
[
|
|
{
|
|
"label": "Build & Run Current File",
|
|
"command": "chcp 65001; if (!(Test-Path ./output)) { mkdir ./output }; $rand = -join ((97..122) | Get-Random -Count 6 | % {[char]$_}); $outputFile = \"./output/${ZED_STEM}_$rand.exe\"; gcc -Wall -Wextra -g -std=c11 -O2 $ZED_FILE -o $outputFile -finput-charset=utf-8 -fexec-charset=utf-8; if ($?) { &$outputFile }",
|
|
"use_new_terminal": false,
|
|
"allow_concurrent_runs": false,
|
|
"reveal": "always",
|
|
"reveal_target": "dock",
|
|
"hide": "never",
|
|
"shell": "system",
|
|
"show_summary": true,
|
|
"show_command": true,
|
|
},
|
|
]
|