Skip to content

Commit

Permalink
实现 ISE 综合-实现-烧写
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertycxz committed Jan 18, 2025
1 parent 6699160 commit 243223d
Show file tree
Hide file tree
Showing 19 changed files with 105 additions and 910 deletions.
12 changes: 12 additions & 0 deletions src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ export class LanguageConfig {
@IsString()
@IsNotEmpty()
rustc!: string;
@IsString()
@IsNotEmpty()
ise!: string;
@IsString()
@IsNotEmpty()
shell!: string; //TODO: string or boolean
@IsString()
@IsNotEmpty()
verilog!: string;
@IsString()
@IsNotEmpty()
vhdl!: string;
}
export class JailConfig {
@IsString()
Expand Down
3 changes: 2 additions & 1 deletion src/Spawn/BasicSpawn.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { SpawnOptions } from "child_process";
import { Stream } from "stream";

export type CompleteStdioOptions = Array<
Expand All @@ -7,6 +8,6 @@ export type CompleteStdioOptions = Array<
// Extract from node/child_process.d.ts
// show which options is used
// options' default value: http://nodejs.cn/api/child_process.html#child_process_child_process_exec_command_options_callback
export interface BasicSpawnOption {
export interface BasicSpawnOption extends SpawnOptions {
stdio?: CompleteStdioOptions;
}
193 changes: 0 additions & 193 deletions src/Spawn/Jail.ts

This file was deleted.

78 changes: 0 additions & 78 deletions src/Spawn/Language/C.ts

This file was deleted.

88 changes: 0 additions & 88 deletions src/Spawn/Language/CPP.ts

This file was deleted.

Loading

0 comments on commit 243223d

Please sign in to comment.