carlhuda/janus — Issue #319: syntastic syntax_checkers folder isn't copied
Author: codeinvain
Created: 2011-12-12 14:01:02+00:00
State: open

since v2.0 syntasic does not include Rakefile which copied syntax_checkers folder into ~/.vim and current janus/Rakefile does not create new folder in .vim .

my solution was to create a custom post installation block to syntastic

vim_plugin_task "syntastic", "git://github.com/scrooloose/syntastic.git" do
source_path = File.expand_path('../tmp/syntastic/syntax_checkers',__FILE__)
dest_path = File.expand_path('../syntax_checkers',__FILE__)
Dir.mkdir(dest_path) if !Dir.exists?(dest_path)
sh "cp -RfL #{source_path}/* #{dest_path}/"·
end