add Makefile for example (#951)
This commit is contained in:
		
							
								
								
									
										10
									
								
								examples/realtime-advanced/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								examples/realtime-advanced/Makefile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
			
		||||
all: deps build
 | 
			
		||||
 | 
			
		||||
.PHONY: deps
 | 
			
		||||
deps:
 | 
			
		||||
	go get -d -v github.com/dustin/go-broadcast/...
 | 
			
		||||
	go get -d -v github.com/manucorporat/stats/...
 | 
			
		||||
 | 
			
		||||
.PHONY: build
 | 
			
		||||
build: deps
 | 
			
		||||
	go build -o realtime-advanced main.go rooms.go routes.go stats.go
 | 
			
		||||
		Reference in New Issue
	
	Block a user