maintainers/update-ruby-packages: format with treefmt config

This commit is contained in:
Matt Sturgeon
2026-08-19 22:51:58 +01:00
parent 53fe9723d8
commit f63d20c57d

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bundler bundix nixfmt
#!nix-shell -i bash -E 'with import ../.. {}; mkShell { packages = [ bash bundler bundix (import ../../ci {}).fmt.pkg ]; }'
# shellcheck shell=bash
set -euf -o pipefail
@@ -20,7 +20,7 @@ rm -f gemset.nix Gemfile.lock
# platform from where it was executed.
BUNDLE_FORCE_RUBY_PLATFORM=1 bundle lock
bundix
nixfmt gemset.nix
treefmt --no-cache gemset.nix
# Run checks against the update.
if ! \