This PR adds a Swarm development environment which can be run in a Docker container and provides scripts for building binaries and running Swarm clusters.
		
			
				
	
	
		
			15 lines
		
	
	
		
			359 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			359 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
.PHONY: build cluster test
 | 
						|
 | 
						|
default: build
 | 
						|
 | 
						|
build:
 | 
						|
	go build -o bin/swarm    github.com/ethereum/go-ethereum/cmd/swarm
 | 
						|
	go build -o bin/geth     github.com/ethereum/go-ethereum/cmd/geth
 | 
						|
	go build -o bin/bootnode github.com/ethereum/go-ethereum/cmd/bootnode
 | 
						|
 | 
						|
cluster: build
 | 
						|
	scripts/boot-cluster.sh
 | 
						|
 | 
						|
test:
 | 
						|
	go test -v github.com/ethereum/go-ethereum/swarm/...
 |