mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-07-31 16:16:26 +00:00
Move mafiabot files from the-library-of-alexandria
- Add mafiabot_core.gpr (Ada project configuration) - Add mafiabot.adb (main procedure)
This commit is contained in:
parent
3b4b2fe4c3
commit
4bb96661b8
12
mafiabot.adb
Normal file
12
mafiabot.adb
Normal file
@ -0,0 +1,12 @@
|
||||
pragma Profile (Jorvik);
|
||||
pragma SPARK_Mode (Off); -- Main procedure: orchestrates I/O-facing init.
|
||||
|
||||
with Bot_Config;
|
||||
with Engine;
|
||||
|
||||
procedure Mafiabot is
|
||||
Config : Bot_Config.Bot_Configuration;
|
||||
Registry : Engine.Daemon_Registry;
|
||||
begin
|
||||
null;
|
||||
end Mafiabot;
|
||||
36
mafiabot_core.gpr
Normal file
36
mafiabot_core.gpr
Normal file
@ -0,0 +1,36 @@
|
||||
project Mafiabot_Core is
|
||||
|
||||
for Source_Dirs use
|
||||
("src",
|
||||
"src/core",
|
||||
"src/daemons",
|
||||
"src/network",
|
||||
"src/payloads",
|
||||
"config",
|
||||
"tests");
|
||||
for Object_Dir use "obj";
|
||||
for Exec_Dir use "bin";
|
||||
for Main use ("mafiabot.adb", "engine_tests.adb");
|
||||
|
||||
package Compiler is
|
||||
for Default_Switches ("Ada") use
|
||||
("-gnat2022",
|
||||
"-gnata",
|
||||
"-gnatwa",
|
||||
"-O2");
|
||||
end Compiler;
|
||||
|
||||
-- Run: gnatprove -P mafiabot_core.gpr --level=2 --report=all
|
||||
package Prove is
|
||||
for Proof_Switches ("Ada") use
|
||||
("-j0",
|
||||
"--level=2",
|
||||
"--report=all",
|
||||
"--no-axiom-guard");
|
||||
end Prove;
|
||||
|
||||
package Binder is
|
||||
for Switches ("Ada") use ("-E");
|
||||
end Binder;
|
||||
|
||||
end Mafiabot_Core;
|
||||
Loading…
x
Reference in New Issue
Block a user