1
0

more robust and future-proof architecture

This commit is contained in:
Ninjananas
2024-09-03 20:05:42 +02:00
parent 7bdea04111
commit 677906b5a7
18 changed files with 416 additions and 84 deletions

View File

@@ -1,7 +1,33 @@
require 'squib'
require 'rake/clean'
task default: [:deck]
CLEAN.include('_output/*').exclude('_output/gitkeep.txt')
CLEAN.include('_graphics/*')
task :deck do
load 'deck.rb'
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