From 2eebac6fc0eba92a83d7290e301a449c65875fc8 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Wed, 8 Feb 2023 22:59:47 +0100 Subject: [PATCH] chore: formatting, indentation --- LICENSE | 2 +- Makefile | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/LICENSE b/LICENSE index ae5d2fce..7a150be4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ Abra: The Co-op Cloud utility belt -Copyright (C) 2022 Co-op Cloud +Copyright (C) 2022 Co-op Cloud This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/Makefile b/Makefile index 8482c27a..89b8a19a 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ -ABRA := ./cmd/abra -KADABRA := ./cmd/kadabra -COMMIT := $(shell git rev-list -1 HEAD) -GOPATH := $(shell go env GOPATH) -LDFLAGS := "-X 'main.Commit=$(COMMIT)'" +ABRA := ./cmd/abra +KADABRA := ./cmd/kadabra +COMMIT := $(shell git rev-list -1 HEAD) +GOPATH := $(shell go env GOPATH) +LDFLAGS := "-X 'main.Commit=$(COMMIT)'" DIST_LDFLAGS := $(LDFLAGS)" -s -w" + export GOPRIVATE=coopcloud.tech all: format check build test @@ -29,7 +30,8 @@ format: @gofmt -s -w . check: - @test -z $$(gofmt -l .) || (echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1) + @test -z $$(gofmt -l .) || \ + (echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1) test: @go test ./... -cover -v