From 83b9cfeb2be05ec8e3d44e5a3a5c2cfb87198103 Mon Sep 17 00:00:00 2001 From: Kegsay Date: Tue, 21 Mar 2017 17:14:17 +0000 Subject: [PATCH] Move binaries to /cmd (#46) --- .../{clientapi/clientapi.go => cmd/clientapi/main.go} | 0 .../dendrite/{tools => cmd}/create-room-events/main.go | 0 .../matrix-org/dendrite/{tools => cmd}/kafka-producer/main.go | 0 .../{roomserver => cmd}/roomserver-integration-tests/main.go | 0 .../roomserver/roomserver.go => cmd/roomserver/main.go} | 0 travis-test.sh | 4 ++-- 6 files changed, 2 insertions(+), 2 deletions(-) rename src/github.com/matrix-org/dendrite/{clientapi/clientapi.go => cmd/clientapi/main.go} (100%) rename src/github.com/matrix-org/dendrite/{tools => cmd}/create-room-events/main.go (100%) rename src/github.com/matrix-org/dendrite/{tools => cmd}/kafka-producer/main.go (100%) rename src/github.com/matrix-org/dendrite/{roomserver => cmd}/roomserver-integration-tests/main.go (100%) rename src/github.com/matrix-org/dendrite/{roomserver/roomserver/roomserver.go => cmd/roomserver/main.go} (100%) diff --git a/src/github.com/matrix-org/dendrite/clientapi/clientapi.go b/src/github.com/matrix-org/dendrite/cmd/clientapi/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/clientapi/clientapi.go rename to src/github.com/matrix-org/dendrite/cmd/clientapi/main.go diff --git a/src/github.com/matrix-org/dendrite/tools/create-room-events/main.go b/src/github.com/matrix-org/dendrite/cmd/create-room-events/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/tools/create-room-events/main.go rename to src/github.com/matrix-org/dendrite/cmd/create-room-events/main.go diff --git a/src/github.com/matrix-org/dendrite/tools/kafka-producer/main.go b/src/github.com/matrix-org/dendrite/cmd/kafka-producer/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/tools/kafka-producer/main.go rename to src/github.com/matrix-org/dendrite/cmd/kafka-producer/main.go diff --git a/src/github.com/matrix-org/dendrite/roomserver/roomserver-integration-tests/main.go b/src/github.com/matrix-org/dendrite/cmd/roomserver-integration-tests/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/roomserver/roomserver-integration-tests/main.go rename to src/github.com/matrix-org/dendrite/cmd/roomserver-integration-tests/main.go diff --git a/src/github.com/matrix-org/dendrite/roomserver/roomserver/roomserver.go b/src/github.com/matrix-org/dendrite/cmd/roomserver/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/roomserver/roomserver/roomserver.go rename to src/github.com/matrix-org/dendrite/cmd/roomserver/main.go diff --git a/travis-test.sh b/travis-test.sh index b3ed18cfa..bf19612cc 100755 --- a/travis-test.sh +++ b/travis-test.sh @@ -3,8 +3,8 @@ set -eu # Check that the servers build -gb build github.com/matrix-org/dendrite/roomserver/roomserver -gb build github.com/matrix-org/dendrite/roomserver/roomserver-integration-tests +gb build github.com/matrix-org/dendrite/cmd/roomserver +gb build github.com/matrix-org/dendrite/cmd/roomserver-integration-tests # Run the pre commit hooks ./hooks/pre-commit