mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: add type hint for langs field
This commit is contained in:
1 file changed
+14
-14
@@ -32,20 +32,20 @@ langs:
|
||||
- ~ Compiling be be ignored if compile option wasn't set
|
||||
- ~ Key marked with a ? means the option is optional
|
||||
- (name):
|
||||
disabled?: whether to disable this language
|
||||
hidden?: won't show in the language selection
|
||||
compile?: Compile Command
|
||||
code_file?: Where to write code file when compiling, defaults to `foo.[name]`
|
||||
execute: Command to execute the program
|
||||
highlight?: PrismJS highlight mode
|
||||
monaco?: Monaco editor mode
|
||||
time_limit_rate?: Time limit rate
|
||||
target?: Compiler output file, defaults to `foo`
|
||||
display: Display name
|
||||
compile_time_limit?: Compile time limit, in milliseconds
|
||||
compile_memory_limit?: Compile memory limit, in MB
|
||||
address_space_limit?: Enable address space memory limit as CCF did
|
||||
process_limit?: Limit the number of thread
|
||||
disabled?: (boolean) whether to disable this language
|
||||
hidden?: (boolean) won't show in the language selection
|
||||
compile?: (string) Compile Command
|
||||
code_file?: (string) Where to write code file when compiling, defaults to `foo.[name]`
|
||||
execute: (string) Command to execute the program
|
||||
highlight?: (string) PrismJS highlight mode
|
||||
monaco?: (string) Monaco editor mode
|
||||
time_limit_rate?: (number) Time limit rate
|
||||
target?: (string) Compiler output file, defaults to `foo`
|
||||
display: (string) Display name
|
||||
compile_time_limit?: (number) Compile time limit, in milliseconds
|
||||
compile_memory_limit?: (number) Compile memory limit, in MB
|
||||
address_space_limit?: (boolean) Enable address space memory limit as CCF did
|
||||
process_limit?: (number) Limit the number of thread
|
||||
bash:
|
||||
display: Bash
|
||||
code_file: foo.sh
|
||||
|
||||
Reference in new issue
Block a user