Re-enable check for yarn when running qunit:test rake task.

This commit is contained in:
Guo Xiang Tan 2017-12-22 09:11:49 +08:00
parent d0b44520bd
commit 6f89db4c24
1 changed files with 5 additions and 5 deletions

View File

@ -13,11 +13,11 @@ task "qunit:test", [:timeout, :qunit_path] => :environment do |_, args|
abort "Chrome 59 or higher is required to run tests in headless mode."
end
# unless system("command -v yarn >/dev/null;")
# abort "Yarn is not installed. Download from https://yarnpkg.com/lang/en/docs/install/"
# end
#
# system("yarn install --dev")
unless system("command -v yarn >/dev/null;")
abort "Yarn is not installed. Download from https://yarnpkg.com/lang/en/docs/install/"
end
system("yarn install --dev")
# ensure we have this port available
def port_available?(port)