build groups: add convenience methods

This commit is contained in:
Andy Meneely
2016-11-24 14:00:23 -05:00
parent 9aac069c76
commit e53e47dde7
8 changed files with 169 additions and 21 deletions
+3 -3
View File
@@ -8,18 +8,18 @@ task both: [:bw, :color]
desc 'Build black-and-white only'
task :bw do
ENV['SQUIB_BUILD'] = 'print_n_play'
Squib.enable_build_globally :print_n_play
load 'build_groups.rb'
end
desc 'Build the color version only'
task :color do
ENV['SQUIB_BUILD'] = 'color'
Squib.enable_build_globally :color
load 'build_groups.rb'
end
desc 'Build a test card'
task :color do
ENV['SQUIB_BUILD'] = 'test'
Squib.enable_build_globally :test
load 'build_groups.rb'
end