diff --git a/Makefile b/Makefile index a67e475..4be3743 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ documentTypes.plist: filetypes/filetypes.go filetypes/cmd/gen.go go generate main.go -why: *.go go.mod go.sum noise.png documentTypes.plist +why: *.go go.mod go.sum noise.png go build . -why.app: why +why.app: why documentTypes.plist go tool appify -author "David Ashby" -id "in.yetaga.why" -name "why" -icon ./icon.png -plist ./documentTypes.plist ./why rm why.app/Contents/README diff --git a/readme.md b/readme.md index a7938e7..fb466ff 100644 --- a/readme.md +++ b/readme.md @@ -12,15 +12,23 @@ So, what comes before Z? Y. This is being created to scratch an itch for me and only me. -## Image credit +## Building it yourself + +`make why` will generate a raw go binary. + +`make why.app` will generate a Mac app bundle for convenient installation to your `/Applications` folder. + +## Logo image credit Generated via . Renee French designed the original Gopher; see for his history. ## TODO -[ ] image resizing -[ ] file sorting options -[x] display a list of filenames +[ ] folder sorting options [ ] skip file load if direction key is repeated [ ] cache loaded files for quick back-and-forth [ ] preload next file for performance +[ ] image resizing (maybe) +[ ] cbz/cbr support? +[x] build functional mac .app bundle with file-type registration and Open With... handling +[x] display a list of filenames