diff --git a/.gitignore b/.gitignore index 72154a7d..ca465fc2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea/ config.ini -*.db \ No newline at end of file +*.db +list \ No newline at end of file diff --git a/Makefile b/Makefile index ab270d4c..da620dbf 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ IMPORT := git.kolaente.de/konrad/list SED_INPLACE := sed -i ifeq ($(OS), Windows_NT) - EXECUTABLE := Library.exe + EXECUTABLE := list.exe else - EXECUTABLE := Library + EXECUTABLE := list UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Darwin) SED_INPLACE := sed -i '' @@ -29,9 +29,9 @@ TAGS ?= TMPDIR := $(shell mktemp -d 2>/dev/null || mktemp -d -t 'kasino-temp') ifeq ($(OS), Windows_NT) - EXECUTABLE := Library.exe + EXECUTABLE := list.exe else - EXECUTABLE := Library + EXECUTABLE := list endif ifneq ($(DRONE_TAG),) @@ -110,7 +110,7 @@ release-windows: @hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ go get -u github.com/karalabe/xgo; \ fi - xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out Library-$(VERSION) . + xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out list-$(VERSION) . ifeq ($(CI),drone) mv /build/* $(DIST)/binaries endif @@ -120,7 +120,7 @@ release-linux: @hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ go get -u github.com/karalabe/xgo; \ fi - xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/*' -out Library-$(VERSION) . + xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/*' -out list-$(VERSION) . ifeq ($(CI),drone) mv /build/* $(DIST)/binaries endif @@ -130,7 +130,7 @@ release-darwin: @hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ go get -u github.com/karalabe/xgo; \ fi - xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin/*' -out Library-$(VERSION) . + xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin/*' -out list-$(VERSION) . ifeq ($(CI),drone) mv /build/* $(DIST)/binaries endif