From f08639c45f3ec8953a969c0e9dc0ed61be5c3ae0 Mon Sep 17 00:00:00 2001 From: bai Date: Wed, 22 Aug 2018 17:24:25 +0800 Subject: [PATCH] add make file --- Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..09d8e7d4 --- /dev/null +++ b/Makefile @@ -0,0 +1,38 @@ +# This Makefile is meant to be used by people that do not usually work +# with Go source code. If you know what GOPATH is then you probably +# don't need to bother with make. + +.PHONY:all smartraiden batchtransfer deploy newtestenv withdrawhash + + +export GOBIN = $(shell pwd)/build/bin +all: smartraiden batchtransfer deploy newtestenv withdrawhash +smartraiden: + go install ./cmd/smartraiden + @echo "Done building." + @echo "Run \"$(GOBIN)/smartraiden\" to launch smartraiden." + +batchtransfer: + go install ./cmd/tools/batchtransfer + @echo "Done building." + @echo "Run \"$(GOBIN)/batchtransfer\" to launch batchtransfer." + +deploy: + go install ./cmd/tools/deploy + @echo "Done building." + @echo "Run \"$(GOBIN)/deploy\" to launch deploy." + +newtestenv: + go install ./cmd/tools/newtestenv + @echo "Done building." + @echo "Run \"$(GOBIN)/newtestenv\" to launch newtestenv." + +withdrawhash: + go install ./cmd/tools/withdrawhash + @echo "Done building." + @echo "Run \"$(GOBIN)/withdrawhash\" to launch withdrawhash." + + + + +