Skip to content

Commit 7241f91

Browse files
committed
Added alire instructions
1 parent f54440c commit 7241f91

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

readme.md

+24-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,27 @@ Coming Soon:
1212
- ISO.Languages (ISO 639)
1313

1414
## Installation
15-
Coming Soon: Alire integration.
1615

17-
The source files are currently being generated by another app written in Ada, but you don't need to run it in order to use this library, as I've already generated it. For now, you can just download the ads and adb files under `/src`, or configure your [Alire Pins](https://alire.ada.dev/docs/#work-in-progress-dependency-overrides).
16+
### With [Alire](https://alire.ada.dev/)
1817

19-
If you want to generate the source files yourself, see below.
18+
Be sure that you're using the latest community index:
19+
```sh
20+
alr index --update-all
21+
```
22+
23+
To download and build:
24+
```sh
25+
alr get --build iso
26+
```
27+
28+
To include it as a dependency in your Alire project:
29+
```sh
30+
alr with iso
31+
```
32+
33+
### Without Alire
34+
35+
If you don't use Alire, you can just download the ads and adb files under `/src` and include them in your project.
2036

2137
## Usage
2238
You can also read the [full API documentation](https://ada-iso.github.io/docs/index.html) which has been generated with [ROBODoc](https://github.com/gumpu/ROBODoc).
@@ -102,6 +118,11 @@ end;
102118
```
103119

104120
## Generating an update
121+
122+
The source files are currently being generated by another app written in Ada, but you don't need to run it in order to use this library, as I've already generated it.
123+
124+
If you want to generate the source files yourself, this is how:
125+
105126
1. Consolidating the reference files
106127
- For Countries:
107128
1. Visit the [Country Code Search](https://www.iso.org/obp/ui/#search/code/)

0 commit comments

Comments
 (0)