You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
528 B
26 lines
528 B
# Example Rakefile that makes use of build groups |
|
require 'squib' |
|
|
|
desc 'Build black-and-white by default' |
|
task default: [:bw] |
|
|
|
desc 'Build both bw and color' |
|
task both: [:bw, :color] |
|
|
|
desc 'Build black-and-white only' |
|
task :bw do |
|
Squib.enable_build_globally :print_n_play |
|
load 'build_groups.rb' |
|
end |
|
|
|
desc 'Build the color version only' |
|
task :color do |
|
Squib.enable_build_globally :color |
|
load 'build_groups.rb' |
|
end |
|
|
|
desc 'Build a test card' |
|
task :color do |
|
Squib.enable_build_globally :test |
|
load 'build_groups.rb' |
|
end
|
|
|