File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Building Ada Language Server from sources
2
2
3
- 1 . Install Alire, Python 3, NodeJS. Add them to ` PATH ` .
3
+ 1 . Install the following tools and add them to the ` PATH ` environment variable:
4
+ - Alire >= 2.0.2
5
+ - Python >= 3.11
6
+ - NodeJS >= 20.18.3
4
7
5
- 2 . Disable dependency sharing in Alire
8
+ 1 . Disable dependency sharing in Alire
6
9
7
10
alr settings --global --set dependencies.shared false
8
11
9
- 3 . Clone repository
12
+ 1 . Clone repository
10
13
11
14
git clone https://github.com/AdaCore/ada_language_server.git
12
15
cd ada_language_server
13
16
14
- 4 . If you know dependency commits numbers then create ` deps.txt ` file
17
+ 1 . If you know dependency commits numbers then create ` deps.txt ` file
15
18
with lines ` <repo_name>=commit ` . Otherwise checkout ` edge ` branch.
16
19
17
- 5 . Build scripts installs Python modules. So it's better to activate
18
- ` venv ` for Python:
20
+ 1 . Use ` alr toolchain --select ` to install the latest available versions of ` gnat ` and ` gprbuild ` .
19
21
20
- python -m venv venv
21
- source venv/bin/activate
22
-
23
- 5 . Run ` build_als.sh ` script
22
+ 1 . Run ` build_als.sh ` script
24
23
25
24
./scripts/build_als.sh
You can’t perform that action at this time.
0 commit comments