Crates.io | tacoda_grrs |
lib.rs | tacoda_grrs |
version | 0.1.3 |
source | src |
created_at | 2019-06-21 03:43:32.507437 |
updated_at | 2020-07-15 19:34:10.981576 |
description | A tool to search files |
homepage | https://github.com/tacoda/grrs |
repository | https://github.com/tacoda/grrs |
max_upload_size | |
id | 142499 |
size | 53,408 |
A grep copy implemented in Rust
$ cargo install tacoda_grrs
$ tacoda_grrs foo test.txt
Travis build scripts from Trust repo
Push a tag to trigger a release build for multiple operating systems and create a release on GitHub.
Add config to Travis yaml file.
Make package info updates in Cargo.toml
$ cargo login
$ cargo publish
curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git tacoda/grrs
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