用于测试source 方法,获取源代码。

    当你需要仅仅测试 source() 方法的时候,使用 conan source 可以单独运行 conanfile.py source() 方法。

    Input folders Output folders
    - source-folder
    1. $ cd example_conan_flow
    2. $ conan source . --source-folder=tmp/source
    3. PROJECT: Configuring sources in C:\Users\conan\example_conan_flow\tmp\source
    4. Cloning into 'hello'...
    5. ...

    正确使用 source 方法,就可以继续测试与下载依赖项有关的各种属性和方法。