templates/ada: add install phase
This commit is contained in:
parent
5c5282770a
commit
0c07350e95
@ -20,7 +20,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
gprbuild
|
gprbuild thing
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mv thing $out/bin
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
6
templates/ada/thing.adb
Normal file
6
templates/ada/thing.adb
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
with Ada.Text_IO; use Ada.Text_IO;
|
||||||
|
|
||||||
|
procedure Thing is
|
||||||
|
begin
|
||||||
|
Put_Line ("Hi Thing!");
|
||||||
|
end Thing;
|
Loading…
Reference in New Issue
Block a user