Commit graph

12 commits

Author SHA1 Message Date
Leon Mika 6b8cb07973 Add Wails CLI install/detection helper
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:05:09 +10:00
Leon Mika 28186131a5 Stop tracking compiled wails-release binary
The previous tidy commit accidentally staged a stray go-built binary
at the repo root via git add -A. Untrack it and gitignore the path
so future builds don't re-stage it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:04:04 +10:00
Leon Mika 187e19230a Tidy go.mod and remove stray fixture go.sum
go mod tidy promotes golang.org/x/mod from indirect to a direct
require now that internal/wails imports it. Also removes the
testdata/sample/go.sum that go get accidentally generated inside
the fixture.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:03:33 +10:00
Leon Mika 338d1fd5b7 Add Wails project metadata reader
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:00:21 +10:00
Leon Mika 5c72dd2a97 Add config loader and validator
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:56:02 +10:00
Leon Mika 2115507d52 Add version resolver (tag → strip-v / fall back to short SHA)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:50:04 +10:00
Leon Mika f34061954f Use bytes.NewReader and add Dir/Env/Stdin coverage
Replaces the handwritten bytesBuf/eof workaround with the canonical
bytes.NewReader + io.EOF, and adds behavioural tests for the Dir, Env,
and Stdin branches of Real.Run that the original plan didn't cover.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:49:05 +10:00
Leon Mika 2350046601 Add Runner abstraction with Real and Fake implementations
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:45:26 +10:00
Leon Mika b86a9dc9eb Bootstrap Go module and action skeleton
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:40:04 +10:00
Leon Mika a155c3ab7a Add implementation plan for Wails Release Action
18-task TDD plan covering scaffolding, runner abstraction, version /
config / wails / archive / cleanup / codesign / notarize / upload /
actions packages, the orchestrator, an end-to-end integration test
with fake binaries, and the action.yml + README finalization.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:36:52 +10:00
Leon Mika 8b812e72a5 Tighten Wails release design after self-review
- Fold action.yml into a single composite step so the binary's
  resolved path is computed in the same shell that just installed it.
- Specify shell-style splitting for extra-build-flags.
- Spell out auto-detection edge cases for notarization-method.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:25:29 +10:00
Leon Mika 39f5bad966 Add design doc for Wails Release Action
Captures the validated brainstorming output: composite Forgejo Action
that go installs and runs a Go binary to build, sign, notarize, and
optionally upload a Wails macOS app to S3-compatible storage.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:24:12 +10:00