mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +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'
|
require 'rake/testtask'
|
||||||
|
|
||||||
task :default => :test
|
task :default => :test
|
||||||
@@ -5,3 +6,9 @@ task :default => :test
|
|||||||
Rake::TestTask.new do |t|
|
Rake::TestTask.new do |t|
|
||||||
t.warning = true
|
t.warning = true
|
||||||
end
|
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