Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.deb
*.swp
/carbon-relay-ng
/carbon-relay-ng.exe
/carbon-relay-ng.ini
/carbon-relay-ng.pid
/carbon-relay-ng.test
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ build:
find . -name '*.go' | grep -v '^\.\/vendor' | xargs gofmt -w -s
CGO_ENABLED=0 go build -ldflags "-X main.Version=$(VERSION)" ./cmd/carbon-relay-ng

build-win:
cd ui/web && go-bindata -pkg web admin_http_assets
find . -name '*.go' | grep -v '^\.\/vendor' | xargs gofmt -w -s
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X main.Version=$(VERSION)" -o carbon-relay-ng.exe ./cmd/carbon-relay-ng

test:
go test ./...

Expand Down
2 changes: 0 additions & 2 deletions nsqd/rename.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build !windows

package nsqd

import (
Expand Down