commit f2cd459c1a8ed591c97139361baf64e1e9046fa3
parent 715ac90bc6d971cd067eebf509b8f700abae0f7a
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date: Wed, 16 Sep 2026 21:39:21 -0400
build: add a go.work spanning the modules
The library and its three commands are separate modules, so a library change
was invisible to the commands, and to gopls, until a tag was published and
each pin bumped. A committed workspace lets every build in the checkout use
the working-tree library while consumers, who never see go.work, are
unaffected.
Diffstat:
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/go.work b/go.work
@@ -0,0 +1,8 @@
+go 1.21.5
+
+use (
+ .
+ ./cmd/icnsify
+ ./cmd/preview
+ ./cmd/shell-extension
+)
diff --git a/go.work.sum b/go.work.sum
@@ -0,0 +1,3 @@
+golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
+golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
+golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=