Skip to content

Commit 3bb15a9

Browse files
committed
new example repo
1 parent 627e5b3 commit 3bb15a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vendors/Rakefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WARNING = <<-EOS
99
EOS
1010

1111
JRUBYC_VERSION = '9.1.1.0'
12-
EXAMPLES = '1.8'
12+
EXAMPLES = '1.0'
1313
HOME_DIR = ENV['HOME']
1414
MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
1515

@@ -59,9 +59,9 @@ file_name = (MAC_OR_LINUX.nil?) ? "#{EXAMPLES}.zip" : "#{EXAMPLES}.tar.gz"
5959
file file_name do
6060
begin
6161
if MAC_OR_LINUX.nil?
62-
sh "wget https://github.com/ruby-processing/JRubyArt-examples/archive/#{EXAMPLES}.tar.gz"
63-
else
6462
sh "wget https://github.com/ruby-processing/JRubyArt-examples/archive/#{EXAMPLES}.zip"
63+
else
64+
sh "wget https://github.com/ruby-processing/JRubyArt-examples/archive/#{EXAMPLES}.tar.gz"
6565
end
6666
rescue
6767
warn(WARNING)
@@ -78,4 +78,4 @@ task :copy_examples => file_name do
7878
sh "rm -r #{HOME_DIR}/k9_samples" if File.exist? "#{HOME_DIR}/k9_samples"
7979
sh "cp -r samples4ruby-processing3-#{EXAMPLES} #{HOME_DIR}/k9_samples"
8080
sh "rm -r samples4ruby-processing3-#{EXAMPLES}"
81-
end
81+
end

0 commit comments

Comments
 (0)