mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
Preferred syntax
This commit is contained in:
5
Rakefile
5
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')
|
||||
|
||||
Reference in New Issue
Block a user