Browse Source

Release script is more intelligent and README somewhat more informative.

cl-refactor
Gav Wood 11 years ago
parent
commit
7a2d610bed
  1. 20
      README.md
  2. 12
      release.sh

20
README.md

@ -1,21 +1,27 @@
# cpp-ethereum
## Ethereum C++ Client.
Ethereum C++ Client.
By Gav Wood, 2014.
Gav Wood, 2014.
Based on a design by Vitalik Buterin.
## Building
Contributors, builders and testers include Eric Lombrozo (cross-compilation), Tim Hughes (MSVC compilation & Dagger testing), Alex Leverington (Clang & Mac building), Marko Simovic (CI) and several others.
### Building
See https://github.com/ethereum/cpp-ethereum/wiki/Building and https://github.com/ethereum/cpp-ethereum/wiki/Compatibility-Info-and-Build-Tips .
## Yet To Do
### Testing
To run the tests, make sure you clone the tests repository from github.com/ethereum to tests is a sibling to cpp-ethereum-build.
### Yet To Do
See TODO
## License
### License
See LICENSE
## Contributing
### Contributing
Please read CodingStandards.txt thoroughly before making alterations to the code base. Please do *NOT* use an editor that automatically reformats whitespace away from astylerc or the formating guidelines as describled in CodingStandards.txt.

12
release.sh

@ -1,9 +1,13 @@
#!/bin/bash
dist="saucy"
version=$1
version=$(grep "define ETH_VERSION" libethereum/Common.h | cut -d ' ' -f 3)
branch="$(git branch | grep \* | cut -c 3-)"
if [[ ! "$1" == "" ]]; then
version=$1
fi
if [[ ! "$3" == "" ]]; then
if [[ ! "$4" == "" ]]; then
dist=$4
@ -28,11 +32,7 @@ git clone $opwd
cd cpp-ethereum
git checkout "$branch"
if [ "$1" == "" ]; then
archdir="cpp-ethereum-$(date +%Y%m%d)"
else
archdir="cpp-ethereum-$version"
fi
archdir="cpp-ethereum-$version"
archfile="$archdir.tar.bz2"
echo Cleaning backup files...

Loading…
Cancel
Save