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/explanations/lux-package-conflicts.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,21 +12,20 @@ First, let's quickly break down what problems we're trying to solve as a package
12
12
a rock (the name for a package in Lua land), unpack it, put the Lua files in the correct place and ensure all dependencies are installed. As will be evident soon,
13
13
managing these dependencies is not an easy feat.
14
14
15
-
In Lux, packages are installed in something called a rock tree. This tree contains a lockfile, which describes which packages
16
-
are installed and how they all relate with one another. The tree also contains a `lux/` directory - it's here that all Lua files are unpacked so that they can be used in
17
-
your scripts. There are three types of rock trees - those that are created for each Lua project (which hold local packages like
15
+
In Lux, packages are installed in something called a rock tree. This tree contains a lockfile, which describes which packages (rocks)
16
+
are installed and how they all relate with one another. There are three types of rock trees - those that are created for each Lua project (which hold local packages like
18
17
dependencies for a given project), those that are installed for the current user (for things like local binaries or helper packages)
19
18
and those that are system-wide.
20
19
21
20
A rock tree is structured as follows:
22
-
-`/lux/<lua-version>` - contains lux for a given Lua version
23
-
-`/lux/<lua-version>/<rock>/etc` - documentation and supplementary files for the rock
0 commit comments