You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
502 B
22 lines
502 B
#!/bin/sh |
|
. "$(dirname "$0")/_/husky.sh" |
|
|
|
## husky task runner examples ------------------- |
|
## Note : for local installation use 'dotnet' prefix. e.g. 'dotnet husky' |
|
|
|
## run all tasks |
|
#husky run |
|
|
|
### run all tasks with group: 'group-name' |
|
dotnet husky run --group "pre-commit" |
|
|
|
## run task with name: 'task-name' |
|
#husky run --name task-name |
|
|
|
## pass hook arguments to task |
|
#husky run --args "$1" "$2" |
|
|
|
## or put your custom commands ------------------- |
|
#echo 'Husky.Net is awesome!' |
|
|
|
#dotnet husky run
|
|
|