mirror of
https://github.com/raimon49/requirements.txt.vim.git
synced 2026-02-05 15:07:38 +08:00
Define task 'currentv' as print current script version
This commit is contained in:
8
Rakefile
8
Rakefile
@@ -1,11 +1,17 @@
|
||||
#!/usr/bin/env rake
|
||||
|
||||
task :ci => [:dump, :test]
|
||||
task :ci => [:dump, :currentv, :test]
|
||||
|
||||
task :dump do
|
||||
sh 'vim --version'
|
||||
end
|
||||
|
||||
task :currentv do
|
||||
sh 'git ls | xargs grep -n \'Version:\''
|
||||
end
|
||||
|
||||
task :test do
|
||||
sh 'bundle exec vim-flavor test'
|
||||
end
|
||||
|
||||
# vim: et sw=2 ts=2 sts=2:
|
||||
|
||||
Reference in New Issue
Block a user