docs+samples: documenting a project

This commit is contained in:
Andy Meneely
2016-11-17 21:14:06 -05:00
parent 56b5a711e4
commit 9aac069c76
14 changed files with 110 additions and 14 deletions
+25
View File
@@ -0,0 +1,25 @@
require 'squib'
desc 'Build all decks black-and-white'
task default: [:characters, :skills]
desc 'Build all decks with color'
task color: [:with_color, :default]
desc 'Enable color build'
task :with_color do
puts "Enabling color build"
Squib.configure img_dir: 'color'
end
desc 'Build the character deck'
task :characters do
puts "Building characters"
load 'src/characters.rb'
end
desc 'Build the skills deck'
task :skills do
puts "Building skills"
load 'src/skills.rb'
end