A grep copy implemented in Rust
sh
$ cargo install tacoda_grrs
sh
$ 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
sh
$ cargo login
$ cargo publish
sh
curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git tacoda/grrs
install.js
:
```javascript 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
:
javascript
{
"...": "...",
"postinstall": "npm run install",
"scripts": {
"install": "node install.js"
},
"...": "..."
}
sh
$ npm install -g grrs