summaryrefslogtreecommitdiff
path: root/forgeConfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'forgeConfig/Makefile')
-rw-r--r--forgeConfig/Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/forgeConfig/Makefile b/forgeConfig/Makefile
deleted file mode 100644
index b918330..0000000
--- a/forgeConfig/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-VERSION = $(shell git describe --tags)
-BUILDTIME = $(shell date +%Y.%m.%d)
-
-build: goimports
- GO111MODULE=off go build \
- -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
-
-test2:
- ./forgeConfig
- FORGE_HOME=/tmp/forge ./forgeConfig
- FORGE_HOME=/tmp/forge ./forgeConfig --list
-
-install: goimports
- GO111MODULE=off go install \
- -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
-
-test:
- ./forgeConfig --list
- ./forgeConfig --add --gopath 'go.wit.com/apps/foo'
- ./forgeConfig --add --gopath 'go.wit.com/apps/foowrite' --writable
- ./forgeConfig --add --gopath 'gitea.wit.com' --directory
- ./forgeConfig --add --gopath 'git.wit.org' --directory
- ./forgeConfig --delete --gopath 'go.wit.com/apps/helloworld'
- ./forgeConfig --list
-
-list:
- ./forgeConfig --list
-
-add:
- ./forgeConfig --add --name 'foo' --gopath 'go.wit.com/apps/foo'
-
-update:
- ./forgeConfig --update --name 'foo' --gopath 'more stuff but not memory corruption?'
-
-corruptMemory:
- ./forgeConfig --update --name 'foo' --gopath 'blah'
-
-goimports:
- goimports -w *.go
-
-prep:
- go get -v -t -u
-
-run:
- go run *.go
-
-clean:
- -rm -f forgeConfig