mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Add rake task for pgyments lexers
This commit is contained in:
7
Rakefile
7
Rakefile
@@ -1,3 +1,4 @@
|
||||
require 'rake/clean'
|
||||
require 'rake/testtask'
|
||||
|
||||
task :default => :test
|
||||
@@ -5,3 +6,9 @@ task :default => :test
|
||||
Rake::TestTask.new do |t|
|
||||
t.warning = true
|
||||
end
|
||||
|
||||
CLOBBER.include 'lib/linguist/lexers.yml'
|
||||
|
||||
file 'lib/linguist/lexers.yml' do |f|
|
||||
sh "./bin/pygments-lexers > #{f.name}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user