plugins/utils: move to by-name

This commit is contained in:
Matt Sturgeon 2024-09-04 17:14:16 +01:00
parent faff32b9f1
commit 52f125679f
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
195 changed files with 2 additions and 102 deletions

View file

@ -1,93 +0,0 @@
{
empty = {
plugins.competitest.enable = true;
};
defaults = {
plugins.competitest = {
enable = true;
settings = {
local_config_file_name = ".competitest.lua";
save_current_file = true;
save_all_files = false;
compile_directory = ".";
compile_command = {
c = {
exec = "gcc";
args = [
"-Wall"
"$(FNAME)"
"-o"
"$(FNOEXT)"
];
};
cpp = {
exec = "g++";
args = [
"-Wall"
"$(FNAME)"
"-o"
"$(FNOEXT)"
];
};
rust = {
exec = "rustc";
args = [ "$(FNAME)" ];
};
java = {
exec = "javac";
args = [ "$(FNAME)" ];
};
};
running_directory = ".";
run_command = {
c = {
exec = "./$(FNOEXT)";
};
cpp = {
exec = "./$(FNOEXT)";
};
rust = {
exec = "./$(FNOEXT)";
};
python = {
exec = "python";
args = [ "$(FNAME)" ];
};
java = {
exec = "java";
args = [ "$(FNOEXT)" ];
};
};
multiple_testing = -1;
maximum_time = 5000;
output_compare_method = "squish";
view_output_diff = false;
testcases_directory = ".";
testcases_use_single_file = false;
testcases_auto_detect_storage = true;
testcases_single_file_format = "$(FNOEXT).testcases";
testcases_input_file_format = "$(FNOEXT)_input$(TCNUM).txt";
testcases_output_file_format = "$(FNOEXT)_output$(TCNUM).txt";
companion_port = 27121;
receive_print_message = true;
template_file = false;
evaluate_template_modifiers = false;
date_format = "%c";
received_files_extension = "cpp";
received_problems_path = "$(CWD)/$(PROBLEM).$(FEXT)";
received_problems_prompt_path = true;
received_contests_directory = "$(CWD)";
received_contests_problems_path = "$(PROBLEM).$(FEXT)";
received_contests_prompt_directory = true;
received_contests_prompt_extension = true;
open_received_problems = true;
open_received_contests = true;
replace_received_testcases = false;
};
};
};
}