Commit 67b3fcf5c183bded6af2f32862746219fe903491

Authored by totoro
1 parent dba2286c

add the call of densaku type generator

.gitmodules 0 → 100644
  1 +[submodule "calexium_lib"]
  2 + path = calexium_lib
  3 + url = ssh://git@gitlab.calexium.com:33022/calexium/calexium_lib.git
  4 +[submodule "densaku_lib"]
  5 + path = densaku_lib
  6 + url = git@gitlab.anubis-language.com:totoro/densaku_lib.git
... ...
calexium_lib @ 45e29b302fa
  1 +Subproject commit 45e29b302fac0def4330ce9654cfa2cecd9e69f2
... ...
densaku_lib @ aaa50241ac1
  1 +Subproject commit aaa50241ac140b5441e8cfb34bd4e884a4828af7
... ...
densaku_type.aproj
... ... @@ -6,7 +6,7 @@
6 6 <OutputType>Exe</OutputType>
7 7 <RootNamespace>densaku_type</RootNamespace>
8 8 <AssemblyName>densaku_type</AssemblyName>
9   - <StartupObject>calexium_lib\densaku_types.anubis</StartupObject>
  9 + <StartupObject>calexium_lib\asterisk\ami.anubis</StartupObject>
10 10 <IncludePaths>./%3b./calexium_lib</IncludePaths>
11 11 </PropertyGroup>
12 12 <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
... ... @@ -23,29 +23,16 @@
23 23 </PropertyGroup>
24 24 <Import Project="$(AnubisBinPath)\Anubis.Build.targets" />
25 25 <ItemGroup>
26   - <Compile Include="asterisk\ami.anubis" />
27   - <Compile Include="asterisk\ami_commands.anubis" />
28   - <Compile Include="asterisk\ami_types.anubis" />
  26 + <Compile Include="calexium_lib\asterisk\ami.anubis" />
  27 + <Compile Include="calexium_lib\asterisk\ami_commands.anubis" />
  28 + <Compile Include="calexium_lib\asterisk\ami_types.anubis" />
29 29 <Compile Include="calexium_lib\densaku_types.anubis" />
30   - <Compile Include="database\alter_table.anubis" />
31   - <Compile Include="database\db_types.anubis" />
32   - <Compile Include="database\db_utils.anubis" />
33   - <Compile Include="database\migration.anubis" />
34   - <Compile Include="database\migration_common.anubis" />
35   - <Compile Include="database\migration_common_sqlite3.anubis" />
36   - <Compile Include="database\migration_sqlite3.anubis" />
37   - <Compile Include="database\model\db_model.anubis" />
38   - <Compile Include="database\settings.anubis" />
39   - <Compile Include="database\settings_sqlite3.anubis" />
40   - <Compile Include="database\sqlite_foreign_key.anubis" />
41 30 <Compile Include="ds_files\ds_messages.anubis" />
42 31 <Compile Include="ds_files\ds_types.anubis" />
43 32 </ItemGroup>
44 33 <ItemGroup>
45   - <Folder Include="asterisk" />
46 34 <Folder Include="calexium_lib" />
47   - <Folder Include="database" />
48   - <Folder Include="database\model" />
  35 + <Folder Include="calexium_lib\asterisk" />
49 36 <Folder Include="ds_files" />
50 37 </ItemGroup>
51 38 </Project>
52 39 \ No newline at end of file
... ...
densaku_types.anubis 0 → 100644
  1 +/*
  2 + * Created by PyramIDE.
  3 + * User: フランスのトトロ aka (David RENÉ)
  4 + * Date: 07/02/2017
  5 + * Time: 23:01
  6 + * © Calexium
  7 + */
  8 +
  9 +
  10 +read tools/basis.anubis
  11 +read densaku_lib/ds_generator.anubis
  12 +read calexium_lib/ds_files/ds_types.anubis
  13 +read calexium_lib/ds_files/ds_messages.anubis
  14 +
  15 +
  16 +global define One
  17 + calexium_lib_ds
  18 + (
  19 + List(String) args
  20 + ) =
  21 + if load_ds_generator is
  22 + {
  23 + failure then println("Densaku generator can't be load"),
  24 + success(ds_gen) then forget(ds_gen.generate_type_files(calexium_lib_types_description, calexium_lib_messages_list, "ds_files/"))
  25 + }.
  26 +
  27 +execute anbexec calexium_lib_ds // generate the file
... ...
minimal_web_site.aproj
... ... @@ -6,7 +6,7 @@
6 6 <OutputType>Exe</OutputType>
7 7 <RootNamespace>minimal_web_site</RootNamespace>
8 8 <AssemblyName>minimal_web_site</AssemblyName>
9   - <StartupObject>calexium_lib\densaku_types.anubis</StartupObject>
  9 + <StartupObject>calexium_lib\asterisk\ami.anubis</StartupObject>
10 10 <IncludePaths>./</IncludePaths>
11 11 </PropertyGroup>
12 12 <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
... ...