require 'squib'
require 'rake/clean'

CLEAN.include('_output/*').exclude('_output/gitkeep.txt')
CLEAN.include('_graphics/*')

task default: [:pnp]

task all: [:debug, :showcase, :pnp, :full]

task :pnp do
  Squib.enable_build_globally :pnp
  load 'src/deck.rb'
  Squib.disable_build_globally :pnp
end

task :debug do
  Squib.enable_build_globally :debug
  load 'src/deck.rb'
  Squib.disable_build_globally :debug
end

task :showcase do
  Squib.enable_build_globally :showcase
  load 'src/deck.rb'
  Squib.disable_build_globally :showcase
end

task :full do
  Squib.enable_build_globally :full
  load 'src/deck.rb'
  Squib.disable_build_globally :full
end
