Conan recipe for Cassandra C/C++ driver
Add a requirement for cassandra-cpp-driver/version@sourcedelica/testing
to your conanfile.txt
or conanfile.py
.
Check conanfile.py
in this repo for the version. It is
the first attribute in the class definition:
class CassandraCppDriverConan(ConanFile):
version = '2.5.0'
Conan is required to build the package. To install Conan:
pip install conan
- Edit
conanfile.py
andtest_package/conanfile.py
and change theversion
attribute to the new version number. - Run
conan test_package
The syntax for conan test_package
is
conan test_package [-o cassandra-cpp-driver:option=value]...
conan test_package
will build the driver and install the package in your local
Conan repository under ~/.conan/data
. It will also run a smoke test
against the package.
conan upload --all cassandra-cpp-driver/version@user/channel
where version, user, and channel are the same values from Building a new version above.
This command will upload all of the packages built with that version
to the conan.io
repository.
After the package is uploaded successfully you should commit and push
the updated conanfile.py
files to Github.