0
运行shell命令
我想在我的Rake文件试图在Rake文件
exclusions = args.version >= "7" ? " -t [email protected]" : ""
current_date = DateTime.now.to_s
t.cucumber_opts = "-r Frank/features " + args.selection + (args.idiom == "ipad" ? " -t [email protected]" : " -t [email protected]") + exclusions + " --out ci_artifacts/frank_results"+current_date+".txt --format pretty --format html --out ci_artifacts/frank_results.html --format junit --out ci_artifacts"
sh 'tail -n 3 ci_artifacts/frank_results" + current_date + ".txt >> frank_runtimes.txt'
运行以下shell命令,当我在sh
运行shell命令,我试图访问没有按”文件t已经存在了,但是如果我尝试运行cucumber_opts
中的命令,它不能识别tail命令并且需要一个目录。
基本上我想要做的就是保存Frank的所有输出,然后获取实际的输出时间并将它们保存在不同的文件夹中。