add makefile

This commit is contained in:
filifa 2024-03-19 20:31:32 -05:00
parent 51d3473c17
commit 5b502c6ad2
1 changed files with 12 additions and 0 deletions

12
Makefile Normal file
View File

@ -0,0 +1,12 @@
.PHONY: all gobuild gofmt
all: timeline.db gobuild
gobuild: gofmt
go build
gofmt:
go fmt
timeline.db: timeline.sql
sqlite3 timeline.db < timeline.sql