Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 675 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 675 Bytes

pkgcraft-bash

Various bash builtins leveraging scallop and pkgcraft.

Builtins

Bash

  • profile: benchmark bash functions

Pkgcraft

  • atom: simple atom parsing
  • atom_version: compare package versions

Development

Requirements: >=bash-5 and bats (for testing)

Use the following commands to set up a dev environment:

# clone repo
git clone https://github.com/pkgcraft/pkgcraft-bash.git
cd pkgcraft-bash

# build with pkgcraft support enabled
cargo build --features pkgcraft

# run tests via bats
bats -r tests