Sha256: b34031ca77ce3e9db4985ae5fcfb44601449d06cdc32189c907f17e595e06a23

Contents?: true

Size: 642 Bytes

Versions: 6

Compression:

Stored size: 642 Bytes

Contents

require 'squib'
require 'irb'
require 'rake/clean'

# Add Rake's clean & clobber tasks
CLEAN.include('_output/*').exclude('_output/gitkeep.txt')

desc 'By default, just build the deck without extra options'
task default: [:deck]

desc 'Build everything, with all the options'
task all: [:with_pnp, :with_proofs, :deck]

desc 'Build the deck'
task(:deck)     { load 'src/deck.rb' }

desc 'Enable proof lines'
task(:with_proofs) do
  puts "Enabling proofing lines."
  Squib.enable_build_globally :proofs
end

desc 'Enable print-and-play builds'
task(:with_pnp) do
  puts "Enabling print-and-play builds."
  Squib.enable_build_globally :pnp
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
squib-0.19.0 lib/squib/builtin/projects/advanced/Rakefile
squib-0.19.0b lib/squib/builtin/projects/advanced/Rakefile
squib-0.19.0a lib/squib/builtin/projects/advanced/Rakefile
squib-0.15.2 lib/squib/builtin/projects/advanced/Rakefile
squib-0.15.1 lib/squib/builtin/projects/advanced/Rakefile
squib-0.14.2 lib/squib/builtin/projects/advanced/Rakefile