-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathRakefile
More file actions
30 lines (24 loc) · 724 Bytes
/
Copy pathRakefile
File metadata and controls
30 lines (24 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- encoding: utf-8 -*-
root = File.expand_path(__dir__)
desc 'run contributed samples'
task :default => [:all]
desc 'run all autorun samples'
task :all do
Rake::Task[:contributed].execute
Rake::Task[:vecmath].execute
Rake::Task[:shaders].execute
end
desc 'run contributed samples'
task :contributed do
sh "cd #{root}/samples/contributed && rake"
end
desc 'shaders'
task :shaders do
sh "cd #{root}/samples/processing_app/topics/shaders && rake"
end
desc 'vecmath'
task :vecmath do
sh "cd #{root}/samples/processing_app/library/vecmath/vec2d && rake"
sh "cd #{root}/samples/processing_app/library/vecmath/vec3d && rake"
sh "cd #{root}/samples/processing_app/library/vecmath/arcball && rake"
end