You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/internals/package-installation.md
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ The installation of packages is split into four phases. Each of these phases cor
7
7
1. Package download
8
8
2. Package extraction
9
9
3. Package global integration
10
-
4. Package local integration
10
+
4. Package local integration (recursive)
11
+
5. Package local integration (non-recursive)
11
12
12
13
## 1. Package download
13
14
@@ -29,9 +30,9 @@ For each package in `$BASALT_GLOBAL_DATA_DIR/store/packages`, modifications are
29
30
- Creating a local `./.basalt` directory (local integration)
30
31
- Converting the runtime essence of the `./basalt.toml` file into other files that are either sourcable or easier to parse
31
32
32
-
### 4. Local integration
33
+
### 4. Local integration (recursive)
33
34
34
-
The final step involves creating a `.basalt` directory so the functionality of all dependencies can be properly exposed. The directory is located at `./.basalt` for local dependencies and at `BASALT_GLOBAL_DATA_DIR/global/.basalt` for global dependencies
35
+
This step involves creating a `.basalt` directory so the functionality of all dependencies can be properly exposed. The directory is located at `$BASALT_LOCAL_PROJECT_DIR/.basalt` for local dependencies and at `$BASALT_GLOBAL_DATA_DIR/global/.basalt` for global dependencies
35
36
36
37
```txt
37
38
- .basalt/
@@ -45,3 +46,7 @@ The final step involves creating a `.basalt` directory so the functionality of a
45
46
- man/
46
47
- packages/
47
48
```
49
+
50
+
### 5. Local integration (non-recursive)
51
+
52
+
This is similar to the previous step, except it performs functionalities that are inherently non recursive. This includes creating the `./basalt/generated` subdirectory and the files within it
0 commit comments