Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

fix dir and scripts #564

Merged
merged 6 commits into from
Jun 20, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix.
  • Loading branch information
cloudwebrtc committed Jun 20, 2021
commit 329842e02c76b5403286392d49e4b6e8947631c1
20 changes: 11 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@ GO_COVERPKGS:=$(shell echo $(GO_TESTPKGS) | paste -s -d ',')
TEST_UID:=$(shell id -u)
TEST_GID:=$(shell id -g)

all: build

clean:
rm -rf bin
all: core app

go_deps:
go mod download

build: go_deps
go build -o bin/app-biz $(GO_LDFLAGS) cmd/app-biz/main.go
core: go_deps
go build -o bin/islb $(GO_LDFLAGS) cmd/islb/main.go
go build -o bin/sfu $(GO_LDFLAGS) cmd/sfu/main.go
go build -o bin/avp $(GO_LDFLAGS) cmd/avp/main.go
go build -o bin/signal $(GO_LDFLAGS) cmd/signal/main.go

app:
go build -o bin/app-biz $(GO_LDFLAGS) apps/biz/main.go

clean:
rm -rf bin

start-bin:

start-services:
Expand All @@ -42,14 +44,14 @@ proto-gen-from-docker:
docker build -t go-protoc ./proto
docker run -v $(CURDIR):/workspace go-protoc proto

proto: proto_ion proto_biz
proto: proto_core proto_app

proto_ion:
proto_core:
protoc proto/ion/ion.proto --go_opt=module=github.com/pion/ion --go_out=. --go-grpc_opt=module=github.com/pion/ion --go-grpc_out=.
protoc proto/debug/debug.proto --experimental_allow_proto3_optional --go_opt=module=github.com/pion/ion --go_out=. --go-grpc_opt=module=github.com/pion/ion --go-grpc_out=.
protoc proto/sfu/sfu.proto --go_opt=module=github.com/pion/ion --go_out=. --go-grpc_opt=module=github.com/pion/ion --go-grpc_out=.
protoc proto/islb/islb.proto --go_opt=module=github.com/pion/ion --go_out=. --go-grpc_opt=module=github.com/pion/ion --go-grpc_out=.
protoc proto/rtc/rtc.proto --go_opt=module=github.com/pion/ion --go_out=. --go-grpc_opt=module=github.com/pion/ion --go-grpc_out=.

proto_biz:
proto_app:
protoc apps/biz/proto/biz.proto --go_opt=module=github.com/pion/ion --go_out=. --go-grpc_opt=module=github.com/pion/ion --go-grpc_out=.
90 changes: 0 additions & 90 deletions apps/app-biz/main.go

This file was deleted.

123 changes: 0 additions & 123 deletions apps/app-biz/server/biz.go

This file was deleted.

81 changes: 0 additions & 81 deletions apps/app-biz/server/peer.go

This file was deleted.

Loading