@@ -730,11 +730,12 @@ tasks:
730730 -s "{{.SCHEMA_PATH}}" \
731731 -d "{{.DATA_PATH}}"
732732
733- # Parameter variables:
734- # - PROJECT_PATH: path of the npm-managed project. Default value: "./"
735733 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/npm-task/Taskfile.yml
736734 npm:install-deps :
737- desc : Install dependencies managed by npm
735+ desc : |
736+ Install dependencies managed by npm.
737+ Environment variable parameters:
738+ - PROJECT_PATH: Path of the npm-managed project (default: "./").
738739 run : when_changed
739740 dir : |
740741 "{{default "./" .PROJECT_PATH}}"
@@ -756,11 +757,12 @@ tasks:
756757 --location project \
757758 fix
758759
759- # Parameter variables:
760- # - PROJECT_PATH: path of the npm-managed project. Default value: "./"
761760 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-npm-task/Taskfile.yml
762761 npm:validate :
763- desc : Validate npm configuration files against their JSON schema
762+ desc : |
763+ Validate npm configuration files against their JSON schema.
764+ Environment variable parameters:
765+ - PROJECT_PATH: Path of the npm-managed project (default: "./").
764766 deps :
765767 - task : npm:install-deps
766768 vars :
@@ -956,11 +958,12 @@ tasks:
956958 cmds :
957959 - poetry run pytest workflow-templates/assets/deploy-mkdocs-versioned/siteversion/tests
958960
959- # Parameter variables:
960- # - SCRIPT_PATH: path of the script to be checked.
961961 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-shell-task/Taskfile.yml
962962 shell:check :
963- desc : Check for problems with shell scripts
963+ desc : |
964+ Check for problems with shell scripts.
965+ Environment variable parameters:
966+ - SCRIPT_PATH: path of the script to be checked.
964967 cmds :
965968 - |
966969 if [[ "{{.SCRIPT_PATH}}" == "" ]]; then
@@ -979,11 +982,12 @@ tasks:
979982 --format={{default "tty" .SHELLCHECK_FORMAT}} \
980983 "{{.SCRIPT_PATH}}"
981984
982- # Parameter variables:
983- # - SCRIPT_PATH: path of the script to be checked.
984985 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-shell-task/Taskfile.yml
985986 shell:check-mode :
986- desc : Check for non-executable shell scripts
987+ desc : |
988+ Check for non-executable shell scripts.
989+ Environment variable parameters:
990+ - SCRIPT_PATH: path of the script to be checked.
987991 cmds :
988992 - |
989993 if [[ "{{.SCRIPT_PATH}}" == "" ]]; then
@@ -994,11 +998,12 @@ tasks:
994998 - |
995999 test -x "{{.SCRIPT_PATH}}"
9961000
997- # Parameter variables:
998- # - SCRIPT_PATH: path of the script to be formatted.
9991001 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-shell-task/Taskfile.yml
10001002 shell:format :
1001- desc : Format shell script files
1003+ desc : |
1004+ Format shell script files.
1005+ Environment variable parameters:
1006+ - SCRIPT_PATH: path of the script to be formatted.
10021007 cmds :
10031008 - |
10041009 if [[ "{{.SCRIPT_PATH}}" == "" ]]; then
@@ -1013,7 +1018,9 @@ tasks:
10131018 fi
10141019 - shfmt -w "{{.SCRIPT_PATH}}"
10151020
1016- # Make a temporary file named according to the passed TEMPLATE variable and print the path passed to stdout
1021+ # Make a temporary file and print the path passed to stdout.
1022+ # Environment variable parameters:
1023+ # - TEMPLATE: template for the format of the filename.
10171024 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/windows-task/Taskfile.yml
10181025 utility:mktemp-file :
10191026 vars :
@@ -1034,7 +1041,9 @@ tasks:
10341041 vars :
10351042 RAW_PATH : " {{.RAW_PATH}}"
10361043
1037- # Print a normalized version of the path passed via the RAW_PATH variable to stdout
1044+ # Print a normalized version of the path to stdout.
1045+ # Environment variable parameters:
1046+ # - RAW_PATH: the path to be normalized.
10381047 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/windows-task/Taskfile.yml
10391048 utility:normalize-path :
10401049 cmds :
@@ -1047,6 +1056,8 @@ tasks:
10471056 echo "{{.RAW_PATH}}"
10481057 fi
10491058
1059+ # Environment variable parameters:
1060+ # - YAMLLINT_FORMAT: yamllint output format (default: colored).
10501061 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-yaml-task/Taskfile.yml
10511062 yaml:lint :
10521063 desc : Check for problems with YAML files
0 commit comments