tacoda_grrs 0.1.3

A tool to search files
Documentation

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