mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 19:32:25 +01:00
Add syntax support for Ada
Add submodule with sublime syntax. Add corresponding tests for both Ada (in adb/ads) and for the companion tool gpr. fixes #1300 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
This commit is contained in:
29
tests/syntax-tests/source/Ada/click.gpr
vendored
Normal file
29
tests/syntax-tests/source/Ada/click.gpr
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
with "config/click_config.gpr";
|
||||
project Click is
|
||||
|
||||
for Library_Name use "Click";
|
||||
for Library_Version use Project'Library_Name & ".so." & Click_Config.Crate_Version;
|
||||
|
||||
for Source_Dirs use ("src/", "config/");
|
||||
for Object_Dir use "obj/" & Click_Config.Build_Profile;
|
||||
for Create_Missing_Dirs use "True";
|
||||
for Library_Dir use "lib";
|
||||
|
||||
type Library_Type_Type is ("relocatable", "static", "static-pic");
|
||||
Library_Type : Library_Type_Type :=
|
||||
external ("CLICK_LIBRARY_TYPE", external ("LIBRARY_TYPE", "static"));
|
||||
for Library_Kind use Library_Type;
|
||||
|
||||
package Compiler is
|
||||
for Default_Switches ("Ada") use Click_Config.Ada_Compiler_Switches & ("-gnatX", "-gnat2022");
|
||||
end Compiler;
|
||||
|
||||
package Binder is
|
||||
for Switches ("Ada") use ("-Es"); -- Symbolic traceback
|
||||
end Binder;
|
||||
|
||||
package Install is
|
||||
for Artifacts (".") use ("share");
|
||||
end Install;
|
||||
|
||||
end Click;
|
Reference in New Issue
Block a user