mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 22:56:40 +00:00
ebd77aabe2
* static: updates Whisper test (to work with Geth 1.6.1) * jail: VM persistence implemented * jail: sendMessage/showSuggestions minor fixes (to be squashed) * node: CHT and boot nodes auto-load implemented * Replaced CHT data file from farazdagi's to tiabc's * Rewrote config_test.go using testify having reduced it twice in size * Increased SyncTime and panic timeout in tests * Fixed test - remove go default test to testify/suite (#207) * Add flag setup for RPCEnabled and add comment (#225) * jail: register method handlers before running initial js in jail (#226) * Console Jail Mod #179 (#228) * Added ./statusd-data into .gitignore * Increased log level for the test node from INFO to ERROR * Add call to loop.Run to evaluate all setTimeout/setIntervals methods. (#208) * Rebase onto geth1.6.7 (#232) * Got back sync duration from 60s to 30s, updated bindata.go
40 lines
890 B
Bash
Executable File
40 lines
890 B
Bash
Executable File
#!/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
|
|
|
|
# Link status-go lib
|
|
statusgodir="$workspace/src/github.com/status-im"
|
|
if [ ! -L "$statusgodir/status-go" ]; then
|
|
mkdir -p "$statusgodir"
|
|
cd "$statusgodir"
|
|
ln -s ../../../../../../../status-im/status-go status-go
|
|
cd "$root"
|
|
fi
|
|
|
|
# Set up the environment to use the workspace.
|
|
GOPATH="$workspace"
|
|
export GOPATH
|
|
|
|
# Run the command inside the workspace.
|
|
cd "$ethdir/go-ethereum"
|
|
PWD="$ethdir/go-ethereum"
|
|
|
|
# Launch the arguments with the configured environment.
|
|
exec "$@"
|