From ca59303dba5b5459e7eb3b0dc2b44fa47db41026 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Thu, 18 Sep 2014 14:25:36 -0500 Subject: [PATCH] Preferred syntax --- Rakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index ea6351f4..60e3565a 100644 --- a/Rakefile +++ b/Rakefile @@ -6,10 +6,11 @@ require 'pry' task :default => :test -Rake::Task["test"].enhance [:check_samples] - Rake::TestTask.new +# Extend test task to check for samples +task :test => :check_samples + desc "Check that we have samples.json generated" task :check_samples do unless File.exist?('lib/linguist/samples.json')