Files
squib/samples/build_groups/Rakefile
T
Seh Hui, Leong f800c131ff Respect DPI settings in text, add pt unit
This has the compatibility impact that all font sizes should be divided by 3 to maintain their same sizes.

Based on PR #225. Thanks @felixleong!!

Conflicts:
	bin/squib
	lib/squib/graphics/text.rb
2017-10-05 16:37:46 -04:00

27 lines
528 B
Ruby

# 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