diff options
Diffstat (limited to 'going2git/Makefile')
| -rw-r--r-- | going2git/Makefile | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/going2git/Makefile b/going2git/Makefile deleted file mode 100644 index 1e8c9f8..0000000 --- a/going2git/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -VERSION = $(shell git describe --tags) -GUIVERSION = $(shell git describe --tags) -BUILDTIME = $(shell date +%s) - -all: build - -build: goimports - GO111MODULE=off go build \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" - -vet: - GO111MODULE=off go vet - -goimports: - goimports -w *.go - # // to globally reset paths: - # // gofmt -w -r '"go.wit.com/gui/gadgets" -> "go.wit.com/lib/gadgets"' *.go - -gocui: build - reset - ./go-clone-test --gui gocui - -install: goimports - GO111MODULE=off go install \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" - -force: build - ./go-clone-test --force |
