Skip to content

Commit ef00087

Browse files
committed
Merge pull request #63 from evoskuil/master
Rename binary to bs/bs.exe.
2 parents e35af3d + 07053f3 commit ef00087

File tree

15 files changed

+220
-132
lines changed

15 files changed

+220
-132
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ install:
6161
- if [[ $LINUX && $GCC && $STATIC ]]; then sudo apt-get -qq install bash-completion; fi
6262

6363
# Download and install packages for osx/clang/dynamic.
64-
- if [[ $OSX && $CLANG && $DYNAMIC ]]; then brew install bash-completion; fi
64+
- if [[ $OSX && $CLANG && $DYNAMIC ]]; then brew unlink bash-completion; brew install bash-completion; fi
6565

6666
# Download and install packages for linux/clang/dynamic.
6767
- if [[ $LINUX && $CLANG && $DYNAMIC ]]; then sudo apt-get -qq install boost1.54; fi
@@ -74,7 +74,7 @@ script:
7474
# Download and build libbitcoin-server and all dependencies.
7575
- if [[ $OSX && $CLANG && $STATIC ]]; then ./install.sh --without-consensus --with-secp256k1 --without-openssl --enable-testnet --disable-shared --build-boost --prefix=$HOME/my-prefix; fi
7676
- if [[ $LINUX && $CLANG && $STATIC ]]; then ./install.sh --with-secp256k1 --without-openssl --disable-shared --build-boost --prefix=$HOME/my-prefix CXXFLAGS='-Os -stdlib=libstdc++' LDLIBS='-lstdc++'; fi
77-
- if [[ $LINUX && $GCC && $STATIC ]]; then ./install.sh --disable-ndebug --disable-shared --build-boost --prefix=$HOME/my-prefix --build-dir=my-build --with-bash-completiondir CXXFLAGS='-Os -s'; fi
77+
- if [[ $LINUX && $GCC && $STATIC ]]; then ./install.sh --disable-ndebug --disable-shared --build-boost --prefix=$HOME/my-prefix --build-dir=my-build --with-bash-completiondir CXXFLAGS='-Os -s -static'; fi
7878
- if [[ $OSX && $CLANG && $DYNAMIC ]]; then ./install.sh --with-secp256k1 --without-openssl --with-bash-completiondir; fi
7979
- if [[ $LINUX && $CLANG && $DYNAMIC ]]; then sudo CXX=$CXX CC=$CC ./install.sh --disable-ndebug --disable-static CXXFLAGS='-Os -stdlib=libstdc++' LDLIBS='-lstdc++'; fi
8080
- if [[ $LINUX && $GCC && $DYNAMIC ]]; then sudo CXX=$CXX CC=$CC ./install.sh --without-consensus --disable-static --build-boost --with-bash-completiondir CXXFLAGS='-Os -s'; fi

Makefile.am

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ doc_DATA = \
2929
NEWS \
3030
README
3131

32-
# src/bitcoin_server => ${bindir}
32+
# src/bs => ${bindir}
3333
#------------------------------------------------------------------------------
34-
bin_PROGRAMS = src/bitcoin_server
35-
src_bitcoin_server_CPPFLAGS = -I${srcdir}/include -DSYSCONFDIR=\"${sysconfdir}\" ${bitcoin_node_CPPFLAGS} ${sodium_CPPFLAGS} ${czmq___CPPFLAGS}
36-
src_bitcoin_server_LDADD = ${bitcoin_node_LIBS} ${sodium_LIBS} ${czmq___LIBS}
37-
src_bitcoin_server_SOURCES = \
34+
bin_PROGRAMS = src/bs
35+
src_bs_CPPFLAGS = -I${srcdir}/include -DSYSCONFDIR=\"${sysconfdir}\" ${bitcoin_node_CPPFLAGS} ${sodium_CPPFLAGS} ${czmq___CPPFLAGS}
36+
src_bs_LDADD = ${bitcoin_node_LIBS} ${sodium_LIBS} ${czmq___LIBS}
37+
src_bs_SOURCES = \
3838
src/config.cpp \
3939
src/config.hpp \
4040
src/echo.cpp \
@@ -77,13 +77,13 @@ src_bitcoin_server_SOURCES = \
7777
if BASH_COMPLETIONDIR
7878

7979
dist_bash_completion_DATA = \
80-
data/bitcoin_server
80+
data/bs
8181

8282
endif BASH_COMPLETIONDIR
8383

8484
# files => ${sysconfdir}/libbitcoin
8585
#------------------------------------------------------------------------------
8686
sysconf_libbitcoindir = ${sysconfdir}/libbitcoin
8787
sysconf_libbitcoin_DATA = \
88-
data/server.cfg
88+
data/bs.cfg
8989

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Finally install Libbitcoin Server:
7979
```sh
8080
$ sudo ./install.sh
8181
```
82-
Libbitcoin Server is now installed in `/usr/local/bin` and can be invoked as `$ bitcoin_server`.
82+
Libbitcoin Server is now installed in `/usr/local/bin` and can be invoked as `$ bs`.
8383

8484
### Macintosh
8585

@@ -126,7 +126,7 @@ Finally install Libbitcoin Server:
126126
```sh
127127
$ ./install.sh
128128
```
129-
Libbitcoin Server is now installed in `/usr/local/bin` and can be invoked as `$ bitcoin_server`.
129+
Libbitcoin Server is now installed in `/usr/local/bin` and can be invoked as `$ bs`.
130130

131131
#### Using MacPorts
132132

@@ -149,7 +149,7 @@ Finally install Libbitcoin Server:
149149
```sh
150150
$ ./install.sh
151151
```
152-
Libbitcoin Server is now installed in `/usr/local/bin` and can be invoked as `$ bitcoin_server`.
152+
Libbitcoin Server is now installed in `/usr/local/bin` and can be invoked as `$ bs`.
153153

154154
### Configuration Options
155155

@@ -160,7 +160,7 @@ Building for minimum size and with debug symbols stripped:
160160
$ sudo ./install.sh CXXFLAGS="-Os -s"
161161
```
162162

163-
> The `-s` option is not supported by the Clang compiler. Instead use the command `$ strip bitcoin_server` after the build.
163+
> The `-s` option is not supported by the Clang compiler. Instead use the command `$ strip bs` after the build.
164164
165165
Building with NDEBUG (no debug assertions) defined:
166166
```sh

builds/msvc/build/buildall.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@ECHO OFF
22
ECHO.
33
ECHO Downloading libbitcoin-server dependencies from NuGet
4-
CALL nuget.exe install ..\vs2013\bitcoin-server\packages.config
4+
CALL nuget.exe install ..\vs2013\bs\packages.config
55
ECHO.
66
CALL buildbase.bat ..\vs2013\libbitcoin-server.sln 12
77
ECHO.

builds/msvc/resource.rc

-64 Bytes
Binary file not shown.

builds/msvc/vs2013/bitcoin-server/bitcoin-server.props renamed to builds/msvc/vs2013/bs/bs.props

File renamed without changes.

builds/msvc/vs2013/bitcoin-server/bitcoin-server.vcxproj renamed to builds/msvc/vs2013/bs/bs.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<ConfigurationType>Application</ConfigurationType>
55
<PlatformToolset>CTP_Nov2013</PlatformToolset>
66
<ProjectGuid>{F45B7D90-90BC-41EF-9AD1-9B29256A09FE}</ProjectGuid>
7-
<ProjectName>bitcoin-server</ProjectName>
7+
<ProjectName>bs</ProjectName>
88
<NuGetPackageImportStamp>d5ab076e</NuGetPackageImportStamp>
99
</PropertyGroup>
1010
<ItemGroup Label="ProjectConfigurations">

builds/msvc/vs2013/bitcoin-server/bitcoin-server.vcxproj.filters renamed to builds/msvc/vs2013/bs/bs.vcxproj.filters

File renamed without changes.
File renamed without changes.

builds/msvc/vs2013/libbitcoin-server.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 2013
44
VisualStudioVersion = 12.0.30723.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bitcoin-server", "bitcoin-server\bitcoin-server.vcxproj", "{F45B7D90-90BC-41EF-9AD1-9B29256A09FE}"
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bs", "bs\bs.vcxproj", "{F45B7D90-90BC-41EF-9AD1-9B29256A09FE}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

0 commit comments

Comments
 (0)