Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 22, 2021 11:16 pm GMT

I made a package manager!

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:

GitHub logo Pandademic / Latte

Latte package manager!

Latte

CodeFactorgitpod

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 putsh alias latte ="ruby ~/latte"
  • and you should be good to use commands!

Creating a package

steps:

    1. Fork this repo
    1. Make a new github repo and do your coding there
    1. 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
    1. Push your changes in the fork to a pull request





Please leave your feedback!

Original Link: https://dev.to/pandademic/i-made-a-package-manager-23dc

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To