summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@skas.io>2024-10-24 11:18:53 +1100
committerSzymon Szukalski <szymon@skas.io>2024-10-24 11:18:53 +1100
commit9986c89c2122f178148d690be336217f754d5633 (patch)
tree7219a4bc8ade4ea6943c65776910c875ef3132f3 /Rakefile
parentad0fb19fb955615565493b8c56ae259ae8b12d4c (diff)
Initialise project with RSpec and Rakefile
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..fa8633d
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+require 'rake'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.pattern = 'spec/**/*_spec.rb'
+end
+
+desc 'Run all tests'
+task test: :spec
+
+task default: :test