Skip to content

Commit e9407ff

Browse files
authored
Merge pull request #85 from tamirelazar/dev
README install polish
2 parents 2da5943 + 7878665 commit e9407ff

2 files changed

Lines changed: 17 additions & 27 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ on:
1111
- '**.md'
1212
- 'LICENSE'
1313
- 'assets/**'
14+
# No paths-ignore here: required status checks must report on every PR to a
15+
# protected branch, including docs-only ones — otherwise a markdown PR can
16+
# never satisfy branch protection and gets stuck unmergeable. The test job's
17+
# own matrix gating keeps non-promotion PRs cheap (ubuntu-only).
1418
pull_request:
1519
branches: [master, dev]
16-
paths-ignore:
17-
- '**.md'
18-
- 'LICENSE'
19-
- 'assets/**'
2020

2121
env:
2222
CARGO_TERM_COLOR: always

README.md

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,59 +10,54 @@ binary, runs on Linux, macOS, Windows, and over SSH.
1010

1111
## Install
1212

13-
### Any platform — cargo
13+
### cargo
1414

1515
```bash
1616
cargo install tslime
1717
```
1818

19-
Builds from source (requires Rust 1.70 or later). This is the universal path
20-
and sidesteps macOS Gatekeeper entirely.
19+
Builds from source; requires Rust 1.70 or later.
2120

22-
### Try it without installing — Nix
21+
### Try it without installing
2322

24-
If you have Nix with flakes, run tslime ephemerally — nothing is installed:
23+
With [Nix](https://nixos.org):
2524

2625
```bash
2726
nix run github:tamirelazar/tslime
2827
```
2928

30-
### Try it without installing — Docker
31-
32-
No Nix? Run the published container instead — nothing is installed on the host:
29+
With Docker:
3330

3431
```bash
3532
docker run --rm -it ghcr.io/tamirelazar/tslime
3633
```
3734

38-
### macOS — Homebrew
35+
### macOS
3936

4037
```bash
4138
brew install tamirelazar/tslime/tslime
4239
```
4340

44-
### Linux — prebuilt binary
41+
### Linux
4542

46-
The Linux binary is statically linked (musl) and runs on any x86_64 distribution.
47-
Paste this to install it to `~/.local/bin`:
43+
The Linux binary is statically linked and runs on any x86_64 distribution.
44+
Install it to `~/.local/bin`:
4845

4946
```bash
5047
mkdir -p ~/.local/bin
5148
curl -fsSL https://github.com/tamirelazar/tslime/releases/latest/download/tslime-linux-x86_64 -o ~/.local/bin/tslime
5249
chmod +x ~/.local/bin/tslime
53-
~/.local/bin/tslime --version
5450
```
5551

56-
If `tslime` isn't found afterwards, add `~/.local/bin` to your `PATH`:
52+
If `~/.local/bin` isn't on your `PATH`, add it:
5753

5854
```bash
5955
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.profile && export PATH="$HOME/.local/bin:$PATH"
6056
```
6157

62-
### Windows — prebuilt binary
58+
### Windows
6359

64-
Paste this into **PowerShell**. It downloads the binary, clears the
65-
Mark-of-the-Web so SmartScreen stays quiet, and adds it to your `PATH`:
60+
In PowerShell:
6661

6762
```powershell
6863
$dir = "$env:LOCALAPPDATA\Programs\tslime"
@@ -71,14 +66,9 @@ Invoke-WebRequest "https://github.com/tamirelazar/tslime/releases/latest/downloa
7166
Unblock-File "$dir\tslime.exe"
7267
$userPath = [Environment]::GetEnvironmentVariable("Path", "User")
7368
if ($userPath -notlike "*$dir*") { [Environment]::SetEnvironmentVariable("Path", "$userPath;$dir", "User") }
74-
& "$dir\tslime.exe" --version
7569
```
7670

77-
Open a new terminal afterwards so the `PATH` change takes effect (or run
78-
`$env:Path += ";$dir"` in the current one), then just run `tslime`.
79-
80-
> macOS prebuilt binaries are not published — use Homebrew or `cargo install`
81-
> (both avoid Gatekeeper). ARM Linux (aarch64): use `cargo install`.
71+
Open a new terminal so the `PATH` change takes effect, then run `tslime`.
8272

8373
### From source
8474

0 commit comments

Comments
 (0)