Skip to content

Commit

Permalink
Update ada_form.gpr with ARM_Para, ARM_Blac units.
Browse files Browse the repository at this point in the history
Add alire.toml. Drop gh_pages.yml
  • Loading branch information
reznikmm committed Nov 11, 2023
1 parent b854aa4 commit 93e0ec1
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 72 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/gh_pages.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
alire
.obj
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ It contains

See details about Ada formatting tool in [command.txt](progs/command.txt)

To build it with GNAT I provide a project file (ada_form.gpr),
that isn't a part of CVS repository. Just run:
## Building

This is an Alire crate that you can build with:

```
gprbuild -p -P ada_form.gpr
alr build
```

## When updating the source docs

If you use case sensitive filesystem you need edit master file converting
file names to lowercase:

Expand All @@ -27,4 +30,3 @@ sed -i -e '/@Source/s/<[^>]*>/\L\0/' aa-aarm.msm
mkdir output
../.obj/ada_form aa-aarm.msm
```

4 changes: 4 additions & 0 deletions ada_form.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ project Ada_Form is
for Spec ("arm_syntax") use "arm_syn.ads";
for Spec ("arm_format.data") use "arm_frmd.ads";
for Spec ("arm_texinfo") use "arm_texi.ads";
for Spec ("arm_paragraph") use "arm_para.ads";
for Spec ("arm_blackhole") use "arm_blac.ads";

for Body ("arm_master") use "arm_mast.adb";
for Body ("arm_contents") use "arm_cont.adb";
Expand All @@ -31,6 +33,8 @@ project Ada_Form is
for Body ("arm_format.data") use "arm_frmd.adb";
for Body ("arm_format.scan") use "arm_frms.adb";
for Body ("arm_texinfo") use "arm_texi.adb";
for Body ("arm_paragraph") use "arm_para.adb";
for Body ("arm_blackhole") use "arm_blac.adb";
end Naming;

package Compiler is
Expand Down
15 changes: 15 additions & 0 deletions alire.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name = "ada_form"
description = "Formatted output of the Ada Reference Manual"
version = "0.1.0-dev"
website = "http://www.ada-auth.org/arm.html"
licenses = "GPL-3.0-only"

authors = ["Randy Brukardt"]
maintainers = ["Max Reznik <[email protected]>"]
maintainers-logins = ["reznikmm"]

executables = ["ada_form"]
project-files = ["ada_form.gpr"]

[configuration]
disabled = true

0 comments on commit 93e0ec1

Please sign in to comment.