more robust and future-proof architecture
This commit is contained in:
32
Rakefile
32
Rakefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user