mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 22:56:07 +08:00
task命令增加ts-node支持 by lcylgs@20210609
This commit is contained in:
parent
11af5d0eb4
commit
fc2a5a7c94
|
@ -14,6 +14,8 @@ define_program() {
|
||||||
which_program="python3"
|
which_program="python3"
|
||||||
elif [[ $p1 == *.sh ]]; then
|
elif [[ $p1 == *.sh ]]; then
|
||||||
which_program="bash"
|
which_program="bash"
|
||||||
|
elif [[ $p1 == *.ts ]]; then
|
||||||
|
which_program="ts-node"
|
||||||
else
|
else
|
||||||
which_program=""
|
which_program=""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user