Skip to content

SpaciousCoder78/covers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covers


A Package/Library Manager for C

covers is a Package/Library Manager for C to help you install curated C libraries into your project.

Submit a Carriage(Package)

To submit a Carriage(also called package) to covers, just open an issue in this repository.

Installation

covers can be built from source on GNU/Linux, MacOS or any Unix-like operating system.

covers requires git and make to be pre-installed.

  • Clone this repository

$ git clone https://codeberg.org/covers/covers.git

  • cd into the cloned repository

$ cd covers

  • Use GNU Make to install covers using Makefile targets (needs root)

$ make

  • To remove covers from your system, run the following command

$ make remove

Building from source for development

If you wish to use a dev build of covers, follow these instructions

  • Clone this repository

$ git clone https://codeberg.org/covers/covers.git

  • cd into the cloned repository

$ cd covers

  • Use GNU Make to run the dev build script

$ make build-dev

  • To remove the dev build from source, use this command

$ make clean

User Manual

Nomenclature

covers is derived from a local Indian English word 'cover' which refers to a plastic bag that's used to carry something.

Carriage (again a local Indian English word) is a cover with some items in it (usually lunch).

In software terms, covers is a package manager and Carriage is a package carried by covers.

Usage

To check the version and information about covers:

$ covers version -v

Firstly, create a new folder for your project and run the following command to build a config file for your project:

$ covers init -i

To install a Carriage from the Official Package Repository :

$ covers install carriagename

Once you're done with installing the carriages you need, run the following command:

$covers finalize -f

covers will generate a carriage-build.toml (introduced in v1.0.0) which contains all of your project details and handles dependencies.

If you want to reinstall your carriages on a different computer, run the following command:

$covers install-deps -i

Why I made this + Contributing

I, SpaciousCoder78, developed covers as a hobby project to learn C for development use. I soon found out that it can be a useful tool so I went ahead with turning it into a free software project.

covers is 100% free software and is developed using free software tools.

This project could've been implemented in a much higher level language like Perl or Python but I wanted it to be a challenge and wanted to learn C so I wrote it entirely in C with hours of debugging with help from #c on Libera.chat

Further contribution guidelines will be introduced once covers is developed further.

License

Totally free software backed by MIT License

Logo Attribution

Plastic bag icons created by Luvdat - Flaticon

About

A Package/Library Manager for C (Read-Only Mirror)

Resources

License

Stars

Watchers

Forks

Packages

No packages published