diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -4,19 +4,25 @@ VERSION = $(shell git describe --tags) # REDOMOD = $(shell if [ -e go.mod ]; then echo go.mod; else echo no go mod; fi) REDOMOD = $(shell if [ -e go.sum ]; then echo go.sum exists; else GO111MODULE= go mod init; GO111MODULE= go mod tidy; fi) -all: - GO111MODULE=off go build -v -ldflags "-X main.Version=${VERSION} -X gui.GUIVERSION=${VERSION}" +all: build ./virtigo --version ./virtigo --help +build: + GO111MODULE=off go build -v -ldflags "-X main.Version=${VERSION} -X gui.GUIVERSION=${VERSION}" + xml-add: ./virtigo --libvirt ~/libvirt/*.xml --xml-ignore-disk=true -start-uptime.wit.com: - rm /tmp/blahcarr.xml +xml-add-save: + ./virtigo --libvirt ~/libvirt/*.xml --xml-ignore-disk=true --save + +start-uptime.wit.com: build + rm -f /tmp/blahcarr.xml /tmp/uptime.wit.com.xml ./virtigo --start uptime.wit.com + ./virtigo --libvirt /tmp/uptime.wit.com.xml -start-all-droplets: +old-start-all-droplets: curl --silent http://localhost:8080/start?start=git.wit.org curl --silent http://localhost:8080/start?start=go.wit.com curl --silent http://localhost:8080/start?start=rdate.wit.com |
