aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/dev/Makefile
diff options
context:
space:
mode:
authorLewis Marshall <lewis@lmars.net>2017-06-01 18:52:18 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-06-01 18:52:18 +0800
commit0036e2a74761413200ce3a8ed316ecb721895f60 (patch)
tree1ac94ec2c89a9055999056cd6d99e2955c4409fd /swarm/dev/Makefile
parent727eadacca761e4abb4273a87dc601bb79d3167d (diff)
downloaddexon-0036e2a74761413200ce3a8ed316ecb721895f60.tar.gz
dexon-0036e2a74761413200ce3a8ed316ecb721895f60.tar.zst
dexon-0036e2a74761413200ce3a8ed316ecb721895f60.zip
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.
Diffstat (limited to 'swarm/dev/Makefile')
-rw-r--r--swarm/dev/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/swarm/dev/Makefile b/swarm/dev/Makefile
new file mode 100644
index 000000000..365964b7f
--- /dev/null
+++ b/swarm/dev/Makefile
@@ -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/...