summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@skas.io>2024-10-24 11:32:34 +1100
committerSzymon Szukalski <szymon@skas.io>2024-10-24 11:32:34 +1100
commit1d1b3511e4c523458d78653cb8781a5328600387 (patch)
treef5136cae86571c104c9f4728ef314da898e02067 /Rakefile
parent9986c89c2122f178148d690be336217f754d5633 (diff)
Implement main executable and CLI
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index fa8633d..51dcb8a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -3,6 +3,11 @@
require 'rake'
require 'rspec/core/rake_task'
+desc 'Run the application'
+task :run do
+ sh 'ruby ./bin/family_tree.rb ./data/actions.txt'
+end
+
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*_spec.rb'
end