move into module

This commit is contained in:
2019-10-29 10:05:18 -07:00
parent 73f2860add
commit 91e01403f8
9 changed files with 66 additions and 48 deletions

View File

@@ -29,15 +29,15 @@ endif
default: run
run: build
DEBUG=1 PORT=1111 ./$(APPNAME)
DEBUG=1 PORT=1111 ./$(APPNAME)d
build: ./$(APPNAME)
build: ./$(APPNAME)d
./$(APPNAME): *.go models/*.go
./$(APPNAME)d: *.go merp/*.go merp/models/*.go
go build -o $@ $(GOFLAGS) .
clean:
rm $(APPNAME)
rm $(APPNAME)d
fmt:
go fmt *.go