mirror of
https://github.com/SamTherapy/dnscrypt.git
synced 2024-12-22 00:50:42 +00:00
commit
a401f89d57
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -22,7 +22,7 @@ release: check-env-release
|
|||
mkdir -p $(BUILDDIR)
|
||||
cp LICENSE $(BUILDDIR)/
|
||||
cp README.md $(BUILDDIR)/
|
||||
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags "-X main.VersionString=$(VERSION)" -o $(BUILDDIR)/$(NAME)$(ext)
|
||||
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags "-X main.VersionString=$(VERSION)" -o $(BUILDDIR)/$(NAME)$(ext) ./cmd/
|
||||
cd $(BASE_BUILDDIR) ; $(archiveCmd)
|
||||
|
||||
test:
|
||||
|
@ -40,4 +40,4 @@ check-env-release:
|
|||
@ if [ "$(GOARCH)" = "" ]; then \
|
||||
echo "Environment variable GOOS not set"; \
|
||||
exit 1; \
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue