Improve rakefile example to match docs

Improve example to match the example in the docs [1] and fix the test task name.

[1] https://squib.readthedocs.io/en/latest/build_groups.html
This commit is contained in:
Karneades
2019-05-27 09:16:06 -04:00
committed by Andy Meneely
parent 8938aa350a
commit 1fb9548637
+4 -4
View File
@@ -2,13 +2,13 @@
require 'squib'
desc 'Build black-and-white by default'
task default: [:bw]
task default: [:pnp]
desc 'Build both bw and color'
task both: [:bw, :color]
task both: [:pnp, :color]
desc 'Build black-and-white only'
task :bw do
task :pnp do
Squib.enable_build_globally :print_n_play
load 'build_groups.rb'
end
@@ -20,7 +20,7 @@ task :color do
end
desc 'Build a test card'
task :color do
task :test do
Squib.enable_build_globally :test
load 'build_groups.rb'
end