require 'pathname'
require 'colorize'

task default: [:test]

task :test do
  Pathname.glob("test/test_*.rb") do |path|
    puts "\nExecuting #{path.basename.to_s.magenta}"
    ruby path
  end
end

task :build_gem do
  system "gem build carmine_contraption.gemspec"
  system "mv *.gem pkg/"
end
