Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
ea11dba0
Commit
ea11dba0
authored
Apr 19, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
parents
5dd56bb4
e6d36fe3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
0 deletions
+55
-0
.gitignore
.gitignore
+5
-0
Makefile
Makefile
+22
-0
env.sh
build/env.sh
+28
-0
No files found.
.gitignore
View file @
ea11dba0
...
...
@@ -27,3 +27,8 @@ mist
cmd/mist/mist
deploy/osx/Mist.app
deploy/osx/Mist\ Installer.dmg
# used by the Makefile
/build/_workspace/
/build/bin/
Makefile
0 → 100644
View file @
ea11dba0
# 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.
#
# Note that there is no way to run the tests or do anything other than
# building the binaries. This is by design.
.PHONY
:
geth mist clean
GOBIN
=
build/bin
geth
:
build/env.sh go
install
-v
github.com/ethereum/go-ethereum/cmd/geth
@
echo
"Done building."
@
echo
"Run
\"
$(GOBIN)
/geth
\"
to launch geth."
mist
:
build/env.sh go
install
-v
github.com/ethereum/go-ethereum/cmd/mist
@
echo
"Done building."
@
echo
"Run
\"
$(GOBIN)
/mist --asset_path=cmd/mist/assets
\"
to launch mist."
clean
:
rm
-fr
build/_workspace/pkg/
$(GOBIN)
/
*
build/env.sh
0 → 100755
View file @
ea11dba0
#!/bin/sh
set
-e
if
[
!
-f
"build/env.sh"
]
;
then
echo
"
$0
must be run from the root of the repository."
exit
2
fi
# Create fake Go workspace if it doesn't exist yet.
workspace
=
"
$PWD
/build/_workspace"
root
=
"
$PWD
"
ethdir
=
"
$workspace
/src/github.com/ethereum"
if
[
!
-L
"
$ethdir
/go-ethereum"
]
;
then
mkdir
-p
"
$ethdir
"
cd
"
$ethdir
"
ln
-s
../../../../../. go-ethereum
cd
"
$root
"
fi
# Set up the environment to use the workspace.
# Also add Godeps workspace so we build using canned dependencies.
GOPATH
=
"
$ethdir
/go-ethereum/Godeps/_workspace:
$workspace
"
GOBIN
=
"
$PWD
/build/bin"
export
GOPATH GOBIN
# Launch the arguments with the configured environment.
exec
$@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment