improved dir structure

This commit is contained in:
David Zhao
2020-10-07 01:11:58 -07:00
parent 38cc5454da
commit 37984bd167
5 changed files with 8 additions and 1 deletions
+1
View File
@@ -15,3 +15,4 @@ livekit-server
# Dependency directories (remove the comment below to include it) # Dependency directories (remove the comment below to include it)
# vendor/ # vendor/
.idea/ .idea/
bin/
+6 -1
View File
@@ -7,7 +7,12 @@ GOBIN=$(shell go env GOBIN)
endif endif
server: generate server: generate
go build -i -o livekit-server @{ \
echo "building" ;\
mkdir -p bin ;\
cd cmd/server ;\
go build -i -o ../../bin/livekit-server ;\
}
generate: wire generate: wire
go generate go generate
View File
+1
View File
@@ -4,6 +4,7 @@ package main
import ( import (
"github.com/google/wire" "github.com/google/wire"
"github.com/livekit/livekit-server/pkg/config" "github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/livekit-server/pkg/node" "github.com/livekit/livekit-server/pkg/node"
"github.com/livekit/livekit-server/pkg/service" "github.com/livekit/livekit-server/pkg/service"