mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-28 16:12:13 +00:00
fix go build
This commit is contained in:
parent
7134bbd949
commit
99b145e37c
@ -189,7 +189,7 @@ _go_lang_config = {
|
|||||||
"max_real_time": 5000,
|
"max_real_time": 5000,
|
||||||
"max_memory": 1024 * 1024 * 1024,
|
"max_memory": 1024 * 1024 * 1024,
|
||||||
"compile_command": "/usr/bin/go build -o {exe_path} {src_path}",
|
"compile_command": "/usr/bin/go build -o {exe_path} {src_path}",
|
||||||
"env": ["GOCACHE=/tmp"]
|
"env": ["GOCACHE=/tmp", "GOPATH=/tmp"]
|
||||||
},
|
},
|
||||||
"run": {
|
"run": {
|
||||||
"command": "{exe_path}",
|
"command": "{exe_path}",
|
||||||
|
Loading…
Reference in New Issue
Block a user