mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-05 08:47:00 +08:00
mv main package to cmd folder
This commit is contained in:
4
Makefile
4
Makefile
@@ -7,10 +7,10 @@ GOBUILD=go build -ldflags '-s -w -X "github.com/xjasonlyu/tun2socks/constant.Ver
|
|||||||
all: build
|
all: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(GOBUILD) -v -tags $(BUILDTAGS) -o $(BINDIR)/$(NAME)
|
cd cmd && $(GOBUILD) -v -tags $(BUILDTAGS) -o $(BINDIR)/$(NAME)
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
$(GOBUILD) -v -tags $(BUILDTAGS) -race -o $(BINDIR)/$(NAME)
|
cd cmd && $(GOBUILD) -v -tags $(BUILDTAGS) -race -o $(BINDIR)/$(NAME)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(BINDIR)
|
rm -rf $(BINDIR)
|
||||||
|
Reference in New Issue
Block a user