aboutsummaryrefslogtreecommitdiffstats
path: root/index/erserve.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-02-25 15:51:34 +0100
committerLoïc Hoguin <[email protected]>2020-03-04 13:17:38 +0100
commit7edc30ad40cd5dc033bc8f0e914b951abf6d0527 (patch)
tree34bd46dc848b90aca43150395f9607f47a0ff7e7 /index/erserve.mk
parent47038dcd2b440dcfd955339b35ad98767301f65d (diff)
downloaderlang.mk-7edc30ad40cd5dc033bc8f0e914b951abf6d0527.tar.gz
erlang.mk-7edc30ad40cd5dc033bc8f0e914b951abf6d0527.tar.bz2
erlang.mk-7edc30ad40cd5dc033bc8f0e914b951abf6d0527.zip
Add the query-deps family of targets2020.03.05
The query-deps, query-doc-deps, query-rel-deps, query-test-deps and query-shell-deps targets go through dependencies and print some information about them: $ make query-deps ... cowboy: cowlib git https://github.com/ninenines/cowlib 2.7.3 cowboy: ranch git https://github.com/ninenines/ranch 1.7.1 $ make query-deps QUERY="name repo version absolute_path" ... cowboy: cowlib https://github.com/ninenines/cowlib 2.7.3 /path/to/deps/cowlib cowboy: ranch https://github.com/ninenines/ranch 1.7.1 /path/to/deps/ranch The query-deps target is recursive; the others aren't. This mirrors the behavior when fetching and building dependencies. The full list of options is: QUERY="fetch_method name repo version extra absolute_path" When an option has no corresponding value, "-" will be printed. For example most fetch methods do not have extra information to print. When there is extra information, the value will be prefixed with a descriptive name. For example: package-name=uuid_erl This commit also introduces changes to deps handling: some of the functions for querying will now be used directly. In the future the goal is to remove the old dep_name, dep_commit, etc. functions and replace their usage with the new query functions. Custom fetch methods should implement query functions in order to have information about the relevant dependencies printed properly.
Diffstat (limited to 'index/erserve.mk')
0 files changed, 0 insertions, 0 deletions