This content originally appeared on DEV Community and was authored by Pandademic
I made a Package manager!
I made a package manager. It can download a package. It depends on simple ini files in a repository instead of package.json or anything else. Its entire production zip is less than 5kbs of space including docs and other things. It is written in ruby and depends on wget and Inifile to download and read the package files , respectively. feedback and pull requests (for packages) welcome!
REPO:
Pandademic / Latte
Latte package manager!
Latte
Latte is a Open source MIT licenced Package management system.It works by take the name of the package, finding its package.ini file and then getting the source code from the repo or the latest release zip/tar.gz.
Install
Prerequisites
- ruby 2.6 or higher
- latest files in the production branch
- wget
Actual Install
Linux:
- extract the file called latte(should be located in the dist folder of the source code) into your home directory
- in your ./bashrc or .zshrc or .fishrc put
sh alias latte ="ruby ~/latte"
- and you should be good to use commands!
Creating a package
steps:
-
- Fork this repo
-
- Make a new github repo and do your coding there
-
- Then in the Fork of packages folder create a packageName.ini where packageName is your packages name.Then look at the package_example.ini in the docs to format the package.ini
-
- Push your changes in the fork to a pull request
Please leave your feedback!
This content originally appeared on DEV Community and was authored by Pandademic
Pandademic | Sciencx (2021-08-22T23:16:09+00:00) I made a package manager!. Retrieved from https://www.scien.cx/2021/08/22/i-made-a-package-manager/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.