Skip to content

Commit

Permalink
Use curl --insecure to work with Cygwin's curl.
Browse files Browse the repository at this point in the history
  • Loading branch information
amaltson committed Apr 6, 2011
1 parent c6077fa commit 5fc3c72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -198,10 +198,10 @@ vim_plugin_task "janus_themes" do
end

vim_plugin_task "molokai" do
sh "curl https://github.com/mrtazz/molokai.vim/raw/master/colors/molokai.vim > colors/molokai.vim"
sh "curl --insecure https://github.com/mrtazz/molokai.vim/raw/master/colors/molokai.vim > colors/molokai.vim"
end
vim_plugin_task "mustache" do
sh "curl https://github.com/defunkt/mustache/raw/master/contrib/mustache.vim > syntax/mustache.vim"
sh "curl --insecure https://github.com/defunkt/mustache/raw/master/contrib/mustache.vim > syntax/mustache.vim"
File.open(File.expand_path('../ftdetect/mustache.vim', __FILE__), 'w') do |file|
file << "au BufNewFile,BufRead *.mustache setf mustache"
end
Expand All @@ -212,7 +212,7 @@ vim_plugin_task "arduino","git://github.com/vim-scripts/Arduino-syntax-file.git"
end
end
vim_plugin_task "vwilight" do
sh "curl https://gist.github.com/raw/796172/724c7ca237a7f6b8d857c4ac2991cfe5ffb18087/vwilight.vim > colors/vwilight.vim"
sh "curl --insecure https://gist.github.com/raw/796172/724c7ca237a7f6b8d857c4ac2991cfe5ffb18087/vwilight.vim > colors/vwilight.vim"
end

if File.exists?(janus = File.expand_path("~/.janus.rake"))
Expand Down

0 comments on commit 5fc3c72

Please sign in to comment.