Preferred syntax

This commit is contained in:
Arfon Smith
2014-09-18 14:25:36 -05:00
parent f2b377fae8
commit ca59303dba

View File

@@ -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')