tacoda_grrs

Crates.iotacoda_grrs
lib.rstacoda_grrs
version0.1.3
sourcesrc
created_at2019-06-21 03:43:32.507437
updated_at2020-07-15 19:34:10.981576
descriptionA tool to search files
homepagehttps://github.com/tacoda/grrs
repositoryhttps://github.com/tacoda/grrs
max_upload_size
id142499
size53,408
Ian Johnson (tacoda)

documentation

README

grrs

A grep copy implemented in Rust

Install

$ cargo install tacoda_grrs

Usage

$ tacoda_grrs foo test.txt

Notes

Releasing on GitHub

Travis build scripts from Trust repo

Push a tag to trigger a release build for multiple operating systems and create a release on GitHub.

Releasing to Cloud Storage

Add config to Travis yaml file.

Distributing with Cargo

Make package info updates in Cargo.toml

$ cargo login
$ cargo publish

Distributing with Trust

Trust repo

curl -LSfs https://japaric.github.io/trust/install.sh | \
    sh -s -- --git tacoda/grrs

Distributing with NPM

install.js:

let exec = require('child_process').exec;

exec('curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git tacoda/grrs', (error, stdout, stderr) => {
  console.log(stderr);
});

package.json:

{
    "...": "...",
    "postinstall": "npm run install",
    "scripts": {
        "install": "node install.js"
    },
    "...": "..."
}
$ npm install -g grrs

Distributing with Brew

Brewfile example from ripgrep

Commit count: 0

cargo fmt