core: update default language config

This commit is contained in:
undefined committed 2022-08-07 21:21:46 +08:00
1 parent a8770881f2
commit 784180c0a9
5 files changed
+24 -12

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "3.15.6",
"version": "3.15.7",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",
+20 -8
View File
@@ -51,17 +51,29 @@ langs:
highlight: cpp
monaco: cpp
display: C++
cc.std98:
cc.cc98:
compile: /usr/bin/g++ -Wall -std=c++98 -o foo foo.cc -lm
display: C++ 98
cc.std11:
display: C++98
cc.cc98o2:
compile: /usr/bin/g++ -Wall -std=c++98 -o foo foo.cc -lm -O2
display: C++98(O2)
cc.cc11:
compile: /usr/bin/g++ -Wall -std=c++11 -o foo foo.cc -lm
display: C++ 11
cc.std14:
display: C++ 14
cc.std17:
display: C++11
cc.cc11o2:
compile: /usr/bin/g++ -Wall -std=c++11 -o foo foo.cc -lm -O2
display: C++11(O2)
cc.cc14:
display: C++14
cc.cc14o2:
compile: /usr/bin/g++ -Wall -std=c++14 -o foo foo.cc -lm -O2
display: C++14(O2)
cc.cc17:
compile: /usr/bin/g++ -Wall -std=c++17 -o foo foo.cc -lm
display: C++ 17
display: C++17
cc.cc17o2:
compile: /usr/bin/g++ -Wall -std=c++17 -o foo foo.cc -lm -O2
display: C++17(O2)
pas:
compile: /usr/bin/fpc -O2 -o/w/foo foo.pas
highlight: pascal