Skip to content

Commit 4e84fe2

Browse files
committed
fix: fix symlink path for blend in bin/
1 parent 0885c23 commit 4e84fe2

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

β€ŽCLAUDE.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Vanilla is a cross-platform dotfiles manager. The core tool is **blend** (Rust +
88

99
- `blend/` β€” Rust source for the blend CLI
1010
- `orders/` β€” Nickel-based order definitions (`.ncl` files), the active config format
11-
- `bin/` β€” Personal scripts deployed to `$PATH`; also where `blend` is symlinked from `blend/target/release/blend`
11+
- `bin/` β€” Personal scripts deployed to `$PATH`; also where `blend` is symlinked from `target/release/blend`
1212
- `legacy/` β€” Orphaned entries from the stow era kept for reference (`atom`, `krita`, `psd`, `root`); not managed by blend
1313
- `screenshots/` β€” README screenshots
1414
- `Brewfile*` β€” Homebrew dependency manifests
@@ -39,7 +39,7 @@ just fmt-check # rustfmt --check
3939
just clippy # cargo clippy -- -D warnings
4040
just deploy # blend sync
4141
```
42-
Run `cargo build --release` directly inside `blend/` if you want to skip the `bin/blend` symlink step.
42+
Run `cargo build --release` directly inside `blend/` if you want to skip the `bin/blend` symlink step; Cargo still writes to the workspace-level `target/` directory.
4343

4444
**CLI commands:**
4545
- `sync [orders...]` / `s [orders...]` β€” Bidirectional sync with per-key interactive Source/Target choices for `from_config` entries (`--force-source-to-target`, `--force-target-to-source`, `--no-rewrite`)

β€ŽERGO.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ removed or moved to the top-level `justfile`.
3232
| 1 | **Bootstrap used to call `blend install`** | Resolved | `bootstrap.sh` builds `bin/blend` before deploying configs |
3333
| 2 | **Chicken-and-egg: Rust needed to build blend** | Resolved | `bootstrap.sh` installs proto/Rust before `just bootstrap`, so fresh clones do not depend on the dangling `bin/blend` symlink |
3434
| 3 | **No pre-built binary** | Medium | No release artifacts, no `cargo install blend`. Every fresh machine requires a full Rust compile (~minutes) |
35-
| 4 | **blend not on PATH initially** | Medium | Binary is at `Vanilla/blend/target/release/blend` (symlinked to `Vanilla/bin/blend`). User's shell PATH isn't configured until blend syncs the shell configs |
35+
| 4 | **blend not on PATH initially** | Medium | Binary is at `Vanilla/target/release/blend` (symlinked to `Vanilla/bin/blend`). User's shell PATH isn't configured until blend syncs the shell configs |
3636
| 5 | **Blend dir discovery is explicit** | Resolved | `--blend-dir` points at the managed root; `context.rs` derives `orders/` from it and errors when discovery fails |
3737
| 6 | **No first-run guidance** | Low | Running `blend` on a clean machine shows status table with all "pending" β€” no hint about what to do next |
3838

β€ŽREADME.md.nuβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env nu
22

3-
let blend_bin = [$env.FILE_PWD "blend" "target" "release" "blend"] | path join
3+
let blend_bin = [$env.FILE_PWD "target" "release" "blend"] | path join
44

55
let content = $"# 𝒱𝒢𝓃𝒾𝓁𝓁𝒢
66

β€Žbin/blendβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../blend/target/release/blend
1+
../target/release/blend

β€Žjustfileβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ build: build-blend
77
# Build blend and symlink into bin/
88
build-blend:
99
cd blend && cargo build --release
10-
ln -sf ../blend/target/release/blend bin/blend
10+
ln -sf ../target/release/blend bin/blend
1111

1212
# Build blend in debug mode (for development)
1313
build-debug:
1414
cd blend && cargo build
15-
ln -sf ../blend/target/debug/blend bin/blend-debug
15+
ln -sf ../target/debug/blend bin/blend-debug
1616

1717
# Validate all orders
1818
check:

0 commit comments

Comments
Β (0)