diff options
| author | Jeff Carr <[email protected]> | 2024-12-31 13:26:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-31 13:26:01 -0600 |
| commit | cff4af7935de4bcbb48f9b8b4c028be7e4e5e890 (patch) | |
| tree | aaef5ca0e520e0a3417105ffd4f3e562391cab35 /going2git/Makefile | |
| parent | 1df95aec09c5ac799d84367ad3721e784eb76f30 (diff) | |
make going2git a seperate app
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 |
