Files
flake-hub/justfile
T
Oleks 3dda8347e4
ci/woodpecker/push/woodpecker Pipeline was successful
style: auto-format from pre-push hooks
2026-05-12 00:02:47 +03:00

50 lines
2.1 KiB
Makefile

default:
@just --list
# ── Antigravity ────────────────────────────────────────────
# Run antigravity (FHS-wrapped) from the attic cache
antigravity-run:
nix run \
--extra-substituters "https://nix-cache-custom.oleks.space/attic-infra-cache-k3s-1" \
--extra-trusted-public-keys "attic-infra-cache-k3s-1:qYSNK3DmttQXCFqn1t50qoWGtQNPRFWq9mgQjD05DeU=" \
git+https://git.oleks.space/oleks/flake-hub#google-antigravity
# Run antigravity (non-FHS variant) from the attic cache
antigravity-run-no-fhs:
nix run \
--extra-substituters "https://nix-cache-custom.oleks.space/attic-infra-cache-k3s-1" \
--extra-trusted-public-keys "attic-infra-cache-k3s-1:qYSNK3DmttQXCFqn1t50qoWGtQNPRFWq9mgQjD05DeU=" \
git+https://git.oleks.space/oleks/flake-hub#google-antigravity-no-fhs
# Build antigravity (FHS-wrapped)
antigravity-build:
nix build .#google-antigravity --print-build-logs
# Build antigravity (non-FHS variant)
antigravity-build-no-fhs:
nix build .#google-antigravity-no-fhs --print-build-logs
# Pull the latest jacopone/antigravity-nix pin
antigravity-update:
nix flake update antigravity-nix
# ── gitea-projects-api ─────────────────────────────────────
# Build the gitea fork (compiles Go 1.26.3 first time; ~5-8 min cold)
gitea-build:
nix build .#gitea-projects-api --print-build-logs
# Refresh gitea-projects-api: bump rev/hashes/version, retag the gitea fork, push both repos
gitea-update:
nix run nixpkgs#nix-update -- \
--flake gitea-projects-api \
--use-update-script
# Run gitea from the attic-cached build (no local recompile)
gitea-run:
nix run \
--extra-substituters "https://nix-cache-custom.oleks.space/attic-infra-cache-k3s-1" \
--extra-trusted-public-keys "attic-infra-cache-k3s-1:qYSNK3DmttQXCFqn1t50qoWGtQNPRFWq9mgQjD05DeU=" \
git+https://git.oleks.space/oleks/flake-hub#gitea-projects-api -- --help