-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement package downloading and module installation
- The next step is to implement the sqlite db and read/write functions for it
- Loading branch information
Coal
committed
Mar 8, 2022
1 parent
c63e362
commit d853ae1
Showing
10 changed files
with
281 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,7 @@ Makefile | |
# Other | ||
.vscode | ||
!build/*.sh | ||
!lpm/ | ||
!lpm/ | ||
|
||
# LPM | ||
lpm_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
[lpm] | ||
db_backend = "sqlite" | ||
packages_db = "./packages.sqlite" | ||
packages_db = "${LPM_ROOT}/packages.sqlite" | ||
# modules_path doesnt use ${?} because it describes a directory, not an individual file | ||
modules_path = "${LPM_ROOT}/modules/${lua_version}/${module_name}/${module_version}" | ||
repositories_cache = "${LPM_ROOT}/cache/repositories/${?}.toml" | ||
packages_cache = "${LPM_ROOT}/cache/packages/${package_name}/${?}" | ||
|
||
[luas] | ||
"Lua5.1" = "/usr/bin/lua5.1" | ||
"Lua5.3" = "/usr/bin/lua5.3" | ||
"default" = "/usr/bin/lua5.3" | ||
|
||
[sources.repositoryid] | ||
permission = "trusted" | ||
cache = "${LPM_ROOT}/repositories/repositoryid.toml" | ||
url = "https://tabe.me/repositories/coal.toml" | ||
[sources.me-at-the-zoo] | ||
url = "https://raw.githubusercontent.com/coalio/me-at-the-zoo/master/me-at-the-zoo.toml" | ||
permission = "trusted" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.