mirror of
https://github.com/uutils/red.git
synced 2026-06-10 16:14:42 -07:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dc70dbe5e9 | |||
| 94f57920e6 | |||
| 1e5e34ecd1 | |||
| cad429927b | |||
| 26c76a5cec | |||
| c3d1756b9f | |||
| eca3f383eb |
@@ -7,6 +7,20 @@ on:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
format:
|
||||
name: Check formatting
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt
|
||||
|
||||
- name: Check formatting
|
||||
run: python3 red/scripts/format_rust.py --check
|
||||
|
||||
ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -144,6 +144,11 @@ Pre-built binaries are available on the [Releases](https://github.com/vyavdoshen
|
||||
|
||||
### Install
|
||||
|
||||
**From crates.io:**
|
||||
```bash
|
||||
cargo install red-sed
|
||||
```
|
||||
|
||||
**Linux:**
|
||||
```bash
|
||||
curl -LO https://github.com/vyavdoshenko/red/releases/latest/download/red-linux-x86_64-musl.tar.gz
|
||||
|
||||
Generated
+2
-2
@@ -469,8 +469,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
||||
|
||||
[[package]]
|
||||
name = "red"
|
||||
version = "1.0.0"
|
||||
name = "red-sed"
|
||||
version = "1.0.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"assert_cmd",
|
||||
|
||||
+15
-2
@@ -1,7 +1,20 @@
|
||||
[package]
|
||||
name = "red"
|
||||
version = "1.0.0"
|
||||
name = "red-sed"
|
||||
version = "1.0.1"
|
||||
edition = "2021"
|
||||
description = "An experimental drop-in replacement for GNU sed, written in Rust"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/vyavdoshenko/red"
|
||||
keywords = ["sed", "text-processing", "cli", "unix"]
|
||||
categories = ["command-line-utilities", "text-processing"]
|
||||
|
||||
[lib]
|
||||
name = "red"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "red"
|
||||
path = "src/main.rs"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
||||
Reference in New Issue
Block a user