swarm/dev: add development environment (#14332)

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.
This commit is contained in:
Lewis Marshall
2017-06-01 11:52:18 +01:00
committed by Felix Lange
parent 727eadacca
commit 0036e2a747
11 changed files with 726 additions and 0 deletions

14
swarm/dev/Makefile Normal file
View File

@ -0,0 +1,14 @@
.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/...