move whoami to its own directory
This commit is contained in:
parent
4b0f083f72
commit
4ad4578103
10
Makefile
10
Makefile
@ -2,13 +2,19 @@ GOARCH := $(GOARCH)
|
||||
GOOS := $(GOOS)
|
||||
FLAGS := -ldflags "-s -w"
|
||||
|
||||
all:
|
||||
all: meshnamed whoami
|
||||
|
||||
meshnamed:
|
||||
GOARCH=$$GOARCH GOOS=$$GOOS go build $(FLAGS) ./cmd/meshnamed
|
||||
|
||||
whoami:
|
||||
GOARCH=$$GOARCH GOOS=$$GOOS go build $(FLAGS) ./cmd/whoami
|
||||
|
||||
clean:
|
||||
$(RM) meshnamed meshnamed.exe
|
||||
$(RM) meshnamed meshnamed.exe whoami whoami.exe
|
||||
|
||||
test:
|
||||
go test pkg/meshname/*_test.go
|
||||
|
||||
.PHONY: all clean test
|
||||
|
||||
|
@ -8,7 +8,6 @@ import (
|
||||
"flag"
|
||||
)
|
||||
|
||||
|
||||
// define tld
|
||||
var tld = flag.String("tld", "mesh.cat", "The top level domain for our network")
|
||||
|
Loading…
Reference in New Issue
Block a user