File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 22
33Follow the guidelines below when writing or updating dependency installation taskfiles.
44
5- - Use ` deps:utils:install-remote-cmake-lib ` and thus ` yscope-dev-utils:cmake:install-remote-tar `
6- whenever applicable.
5+ - Use one of the following tasks for installation, in descending order of preference:
6+ - ` deps:utils:install-remote-cmake-lib `
7+ - ` yscope-dev-utils:cmake:install-remote-tar `
78
8- - For ones that don't apply:
9+ - For special tasks that don't apply to the rule above :
910 - Include ` deps:utils:init ` in the ` deps: ` section of the task.
1011 - Briefly explain why if the library is installable via CMake.
11- - Verify that each library has proper checksum validation to check if it is up-to-date.
12+ - Ensure each library installation includes checksum validation using best effort.
13+ - Use of ` yscope-dev-utils ` tasks is encouraged, as most of them include proper checksum checks.
1214 - Use ` <lib>-extracted ` as the directory name for tarball extractions.
1315
14- - Avoid parsing version numbers from download URLs unless the version is used elsewhere.
16+ - Avoid parsing version numbers in download URLs unless the version is used elsewhere.
1517 - URL formats can change over time, so it’s more maintainable to store and use the full URL
1618 directly as plain text.
1719
Original file line number Diff line number Diff line change 9393 preconditions :
9494 # NOTE: Spider is only supported on Ubuntu at present.
9595 - >-
96- source /etc/os-release && [[ "$ID" == "ubuntu" ] ]
96+ . /etc/os-release && [ "$ID" == "ubuntu" ]
9797 cmds :
9898 - task : " yscope-dev-utils:cmake:install-remote-tar"
9999 vars :
You can’t perform that action at this time.
0 commit comments