replaced generate_index with generate_hook so that the -r | --regenerate case won't need to be altered if I want to run multiple generate jobs when need
This commit is contained in:
parent
f1fa984587
commit
d4655ec4ca
@ -35,8 +35,8 @@ while [[ $# -ne 0 ]]; do
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
-r | --regenrate )
|
-r | --regenrate )
|
||||||
## This will regnerate index
|
## This will run all generate scripts/functions in the generate_hook function
|
||||||
generate_index
|
generate_hook
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user