mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-10-10 00:19:56 +00:00
(#13191) [docs] update the order of attributes
This commit is contained in:
@@ -54,26 +54,9 @@ def _build_subfolder(self):
|
|||||||
|
|
||||||
Prefer the following order of documented methods in python code (`conanfile.py`, `test_package/conanfile.py`):
|
Prefer the following order of documented methods in python code (`conanfile.py`, `test_package/conanfile.py`):
|
||||||
|
|
||||||
- init
|
For `conan create` the order is listed [here](https://docs.conan.io/en/latest/reference/commands/creator/create.html#methods-execution-order)
|
||||||
- set_name
|
test packages recipes should append the following methods:
|
||||||
- set_version
|
|
||||||
- export
|
|
||||||
- export_sources
|
|
||||||
- config_options
|
|
||||||
- configure
|
|
||||||
- layout
|
|
||||||
- requirements
|
|
||||||
- package_id
|
|
||||||
- validate
|
|
||||||
- build_id
|
|
||||||
- build_requirements
|
|
||||||
- system_requirements
|
|
||||||
- source
|
|
||||||
- generate
|
|
||||||
- imports
|
|
||||||
- build
|
|
||||||
- package
|
|
||||||
- package_info
|
|
||||||
- deploy
|
- deploy
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user