From 0a582d32c5ba07b79e8a7faac2caf4df17fd01a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A0=CF=85=CE=B1=CE=B7=20=D7=A0=CF=85=CE=B1=CE=B7=D1=95?= =?UTF-8?q?=CF=83=CE=B7?= Date: Sat, 15 Aug 2026 20:12:27 -0700 Subject: [PATCH] refactor: consume the flat just module Imports just/just.just and renames just::fmt call sites to just-fmt. The shim is removed upstream. Depends on osapi-justfiles#57. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/just-lint.yml | 2 +- justfile | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/just-lint.yml b/.github/workflows/just-lint.yml index 74a2ee3..1c0b935 100644 --- a/.github/workflows/just-lint.yml +++ b/.github/workflows/just-lint.yml @@ -17,4 +17,4 @@ jobs: - name: Fetch justfiles run: just fetch - name: Lint justfiles - run: just just::fmt-check + run: just just-fmt-check diff --git a/justfile b/justfile index a333511..fd13d11 100644 --- a/justfile +++ b/justfile @@ -6,7 +6,7 @@ set allow-duplicate-variables # validates dependencies at parse time, which would fail when modules aren't loaded. import? '.just/remote/go.just' import? '.just/remote/md.just' -mod? just '.just/remote/just.mod.just' +import? '.just/remote/just.just' # No documentation site, so md formats every markdown file in the repository. md_site_dir := "" @@ -18,8 +18,7 @@ fetch: mkdir -p .just/remote curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/go/go.just -o .just/remote/go.just curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/md/md.just -o .just/remote/md.just - curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/just.mod.just -o .just/remote/just.mod.just - curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/just.just -o .just/remote/just.just + curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/just/just.just -o .just/remote/just.just # --- Top-level orchestration --- @@ -39,7 +38,7 @@ generate: # Format and lint before committing ready: just generate - just just::fmt + just just-fmt just md-fmt just go-fmt just go-vet