Move read config stuff to separate file
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,11 +1,15 @@
|
||||
#!/usr/bin/env gmake -f
|
||||
|
||||
BUILDOPTS=-ldflags="-s -w" -a -gcflags=all=-l -trimpath
|
||||
FILELIST=collection.go types.go globals.go lib.go event_parser.go commands.go redis.go settings-db-util.go main.go
|
||||
FILELIST=collection.go commands.go event_parser.go globals.go lib.go main.go read_config.go redis.go types.go \
|
||||
settings-db-util.go
|
||||
|
||||
BINARY=aleesa-jabber-go
|
||||
|
||||
|
||||
all: clean build
|
||||
|
||||
|
||||
build:
|
||||
ifeq ($(OS),Windows_NT)
|
||||
# powershell
|
||||
@@ -22,9 +26,11 @@ else
|
||||
CGO_ENABLED=0 go build ${BUILDOPTS} -o ${BINARY} ${FILELIST}
|
||||
endif
|
||||
|
||||
|
||||
clean:
|
||||
go clean
|
||||
|
||||
|
||||
upgrade:
|
||||
ifeq ($(OS),Windows_NT)
|
||||
# jetbrains golang, powershell
|
||||
|
||||
Reference in New Issue
Block a user