用于测试source 方法,获取源代码。
当你需要仅仅测试 source() 方法的时候,使用 conan source 可以单独运行 conanfile.py 的 source() 方法。
| Input folders | Output folders |
|---|---|
| - | source-folder |
$ cd example_conan_flow$ conan source . --source-folder=tmp/sourcePROJECT: Configuring sources in C:\Users\conan\example_conan_flow\tmp\sourceCloning into 'hello'......
正确使用 source 方法,就可以继续测试与下载依赖项有关的各种属性和方法。
