Add: Makefile added

main
Óscar M. Lage 2022-03-28 21:33:18 +02:00
parent bcbc714961
commit 324dc9d249
2 changed files with 12 additions and 1 deletions

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
run:
go run main.go
rundebug:
go run main.go -d
build:
go build -o bin/wikingo
clean:
rm -f bin/wikingo

View File

@ -7,8 +7,8 @@
- [ ] Flag to show the version
- [ ] Config file (to select store and some other future options)
- [ ] Proper logger
- [ ] Makefile helper
- [ ] Reload if files changes [idea](https://medium.com/@olebedev/live-code-reloading-for-golang-web-projects-in-19-lines-8b2e8777b1ea#.gok9azrg4)
- [x] Makefile helper
- [ ] CI (gofmt, golint, more)?
- [x] Page versioning in a really basic way