File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727cmd /mist /mist
2828deploy /osx /Mist.app
2929deploy /osx /Mist \ Installer.dmg
30+
31+ # used by the Makefile
32+ /build /_workspace /
33+ /build /bin /
34+
Original file line number Diff line number Diff line change 1+ # This Makefile is meant to be used by people that do not usually work
2+ # with Go source code. If you know what GOPATH is then you probably
3+ # don't need to bother with make.
4+ #
5+ # Note that there is no way to run the tests or do anything other than
6+ # building the binaries. This is by design.
7+
8+ .PHONY : geth mist clean
9+ GOBIN = build/bin
10+
11+ geth :
12+ build/env.sh go install -v github.com/ethereum/go-ethereum/cmd/geth
13+ @echo " Done building."
14+ @echo " Run \" $( GOBIN) /geth\" to launch geth."
15+
16+ mist :
17+ build/env.sh go install -v github.com/ethereum/go-ethereum/cmd/mist
18+ @echo " Done building."
19+ @echo " Run \" $( GOBIN) /mist --asset_path=cmd/mist/assets\" to launch mist."
20+
21+ clean :
22+ rm -fr build/_workspace/pkg/ $(GOBIN ) /*
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -e
4+
5+ if [ ! -f " build/env.sh" ]; then
6+ echo " $0 must be run from the root of the repository."
7+ exit 2
8+ fi
9+
10+ # Create fake Go workspace if it doesn't exist yet.
11+ workspace=" $PWD /build/_workspace"
12+ root=" $PWD "
13+ ethdir=" $workspace /src/github.com/ethereum"
14+ if [ ! -L " $ethdir /go-ethereum" ]; then
15+ mkdir -p " $ethdir "
16+ cd " $ethdir "
17+ ln -s ../../../../../. go-ethereum
18+ cd " $root "
19+ fi
20+
21+ # Set up the environment to use the workspace.
22+ # Also add Godeps workspace so we build using canned dependencies.
23+ GOPATH=" $ethdir /go-ethereum/Godeps/_workspace:$workspace "
24+ GOBIN=" $PWD /build/bin"
25+ export GOPATH GOBIN
26+
27+ # Launch the arguments with the configured environment.
28+ exec $@
You can’t perform that action at this time.
0 commit comments