clean up go.mod file, tweak makefile
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,9 +1,10 @@
|
||||
why.app: why documentTypes.plist
|
||||
# make does not handle last-modified dates on folders very well, so instead we use the inner binary as the target
|
||||
why.app/Contents/MacOS/why.app: why documentTypes.plist
|
||||
go tool appify -author "David Ashby" -version `git rev-parse --short HEAD` -id "in.yetaga.why" -name "why" -icon ./icon.png -plist ./documentTypes.plist ./why
|
||||
rm why.app/Contents/README
|
||||
|
||||
documentTypes.plist: filetypes/filetypes.go filetypes/cmd/gen.go
|
||||
documentTypes.plist: filetypes/*.go filetypes/cmd/*.go
|
||||
go generate main.go
|
||||
|
||||
why: main.go filetypes/filetypes.go go.mod go.sum go.work go.work.sum noise.png icon.png
|
||||
why: *.go filetypes/*.go noise.png icon.png go.mod go.sum $(go.work go.work.sum)
|
||||
go build .
|
||||
|
Reference in New Issue
Block a user