Difference between revisions of "Conan create"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
conan create . "${CI_COMMIT_TAG}@dev/stable" | conan create . "${CI_COMMIT_TAG}@dev/stable" | ||
+ | |||
+ | |||
+ | conan create . demo/testing is equivalent to: | ||
+ | |||
+ | $ conan export . demo/testing | ||
+ | $ conan install hello/0.1@demo/testing --build=hello | ||
+ | # package is created now, use test to test it | ||
+ | $ cd test_package | ||
+ | $ [[conan test]] . hello/0.1@demo/testing | ||
== See also == | == See also == |
Revision as of 09:39, 4 May 2021
conan create
builds a binary package for a recipe (conanfile.py).
conan create . "${CI_COMMIT_TAG}@dev/stable"
conan create . demo/testing is equivalent to: $ conan export . demo/testing $ conan install hello/0.1@demo/testing --build=hello # package is created now, use test to test it $ cd test_package $ conan test . hello/0.1@demo/testing
See also
Advertising: