Created
November 7, 2014 05:00
-
-
Save trekr5/e55e9d35331e5b5552e8 to your computer and use it in GitHub Desktop.
more code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if File.exist?("test_helper.rb") | |
p "file exists" | |
elsif | |
# no file found | |
system "curl -o mastering-vim pdf 'http://www.cyberciti.biz/files/mastering-vi-vim.pdf" | |
p "file downloaded" | |
#File.delete("mastering-vim.pdf") | |
else | |
raise "build cancelled" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment