summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2021-06-10 13:29:47 -0400
committerrealtradam <[email protected]>2021-06-10 13:29:47 -0400
commitf79d08089a49ca0f2aa2318b1a13ccabda2d9aaa (patch)
tree3062d5a9f98d48cac9dcc8f2025507f5f76b7d66 /Rakefile
parent9db98b8955125584debf17d7204715a1149578c5 (diff)
downloadFelECS-f79d08089a49ca0f2aa2318b1a13ccabda2d9aaa.tar.gz
FelECS-f79d08089a49ca0f2aa2318b1a13ccabda2d9aaa.zip
added codeclimate rake task
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 2ce67ce..9ca2fdd 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,8 +1,19 @@
require 'rake/testtask'
require 'yard'
+require_relative './codeclimate/export-coverage'
-
+namespace :coverage do
+ desc "format coverage so it can be exported to codeclimate"
+ task :format do
+ ReportCoverage.format
+ end
+
+ desc "upload coverage using your key"
+ task :upload do
+ ReportCoverage.upload
+ end
+end
YARD::Rake::YardocTask.new do |t|
t.files = ['component_manager.rb', 'entity_manager.rb', 'felflame.rb']