werb

Crates.iowerb
lib.rswerb
version0.1.2
sourcesrc
created_at2021-01-16 13:52:08.969128
updated_at2021-01-20 08:24:43.027911
descriptionYet another rusty package manager
homepage
repositoryhttps://github.com/wafelack/werb
max_upload_size
id342798
size72,048
Wafelack (Wafelack)

documentation

README

werb

Yet another rusty package manager


Install

You can either:

  • Run cargo install werb
  • Download the binary in the releases

You must add $HOME/.werb_bin to path to have direct access to your installed packages

How to use

Setup

  • Run werb to update your sources and setup the environnement

Search packages

  • Run werb search <package> to check if your package exists

Install packages

  • Run werb install <package> [-f | --force] to install it in ~/.werb_bin

Uninstall packages

  • Run werb purge <package> to uninstall it

Publish packages

NOTE: All the published packages has to be in a single tar.gz file !

Adding a new package

WARNING: If you just want to UPDATE an existing package, go to the editing section

  • Prerequisties: You have to have ruby installed

  • Fork this repository

  • Clone the produced repository with: git clone git@github.com:$USERNAME/werb.git (obviously replace $USERNAME with your github username)

  • Run cd werb/ && chmod 751 add_package.rb

  • Follow the script instructions

  • Commit your changes with this message: :package: Added $PACKAGE_NAME package (obviously replace $PACKAGE_NAME with your package name)

  • Push your changes to your repo

  • Open a pull request on this repository with this title: [PACKAGE] Added $PACKAGE_NAME (obviously replace $PACKAGE_NAME with your package name)

  • Your package should be accepted within one day

Edit an existing package
  • Fork this repository

  • Clone the produced repository with: git clone git@github.com:$USERNAME/werb.git (obviously replace $USERNAME with your github username)

  • Go in the produced directory

  • Edit packages.json with your changes

  • Commit your changes with this message: :package: Edited $PACKAGE_NAME package (obviously replace $PACKAGE_NAME with your package name)

  • Push your changes to your repo

  • Open a pull request on this repository with this title: [PACKAGE] Edited $PACKAGE_NAME (obviously replace $PACKAGE_NAME with your package name)

  • Your package should be updated within one day

Commit count: 117

cargo fmt