4 releases
0.1.3 | Jul 15, 2020 |
---|---|
0.1.2 | Jul 15, 2020 |
0.1.1 | Dec 18, 2019 |
0.1.0 | Jun 21, 2019 |
#67 in #demo
19KB
265 lines
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
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
Dependencies
~8–18MB
~246K SLoC