[go: nahoru, domu]

Skip to content

Commit

Permalink
fix go build
Browse files Browse the repository at this point in the history
  • Loading branch information
virusdefender authored Sep 14, 2021
1 parent 7134bbd commit 99b145e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"max_real_time": 5000,
"max_memory": 1024 * 1024 * 1024,
"compile_command": "/usr/bin/go build -o {exe_path} {src_path}",
"env": ["GOCACHE=/tmp"]
"env": ["GOCACHE=/tmp", "GOPATH=/tmp"]
},
"run": {
"command": "{exe_path}",
Expand Down

0 comments on commit 99b145e

Please sign in to comment.