Sha256: 6ef82399393284d42bd062960f2fe4a1d8092cceabcfd39ede67ddadeb2ae324

Contents?: true

Size: 669 Bytes

Versions: 13

Compression:

Stored size: 669 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

13 entries across 13 versions & 1 rubygems

Version Path
squib-0.18.0 lib/squib/builtin/projects/advanced/Rakefile
squib-0.17.2 lib/squib/builtin/projects/advanced/Rakefile
squib-0.17.1 lib/squib/builtin/projects/advanced/Rakefile
squib-0.17.0 lib/squib/builtin/projects/advanced/Rakefile
squib-0.16.0 lib/squib/builtin/projects/advanced/Rakefile
squib-0.16.0.pre.preview2 lib/squib/builtin/projects/advanced/Rakefile
squib-0.16.0.pre.preview1 lib/squib/builtin/projects/advanced/Rakefile
squib-0.15.3 lib/squib/builtin/projects/advanced/Rakefile
squib-0.15.0 lib/squib/builtin/projects/advanced/Rakefile
squib-0.14.3.pre1 lib/squib/builtin/projects/advanced/Rakefile
squib-0.14.1 lib/squib/builtin/projects/advanced/Rakefile
squib-0.14.0 lib/squib/builtin/projects/advanced/Rakefile
squib-0.14.beta1 lib/squib/builtin/projects/advanced/Rakefile