ruby-on-rails – 如何获得特定rake任务的帮助?
发布时间:2020-12-17 03:16:02 所属栏目:百科 来源:网络整理
导读:是否有针对个别佣金任务的标准帮助命令? rake -h显示rake的选项. rake -D描述了rake任务. rake mytask运行mytask. 是否有类似rake -h mytask的内容可以描述mytask,并列出其可选和/或必需的参数? 例如,以下代码将在rails中运行单个测试: rake test TEST=pa
是否有针对个别佣金任务的标准帮助命令?
rake -h显示rake的选项. rake -D描述了rake任务. rake mytask运行mytask. 是否有类似rake -h mytask的内容可以描述mytask,并列出其可选和/或必需的参数? 例如,以下代码将在rails中运行单个测试: rake test TEST=path_to_test 如何发现TEST = path_to_test是rake test的可选参数? 解决方法
命令rake -D test不在我的系统上.相反,你可以使用
# list test command with details rake test -D # list all test tasks with description rake test -T # list all test tasks even without description(Recommened) rake test -T -A (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |