From cd99dd6b9cf2ef3e904ed609d23a796100051cc7 Mon Sep 17 00:00:00 2001 From: Jon Ruskin Date: Thu, 22 Mar 2018 22:38:42 -0700 Subject: [PATCH] add setup rake task give an easy one-command setup for all sources individual sources can be setup with script/setup/[source] --- Rakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Rakefile b/Rakefile index 090ed53..0da0bde 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,11 @@ require "bundler/gem_tasks" require "rake/testtask" +desc "Run source setup scripts" +task :setup do + Dir["script/setup/*"].each { |script| system(script) } +end + Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib"