From 7320fceb8d8cf6ed32dd139fb91667ed3b84c4f2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 26 Oct 2024 01:02:09 -0500 Subject: finds disks and puts dirs in the protobuf cluster Signed-off-by: Jeff Carr --- Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cef9e5c..e956b67 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3