Rakefile in archangel-0.0.7 vs Rakefile in archangel-0.0.8
- old
+ new
@@ -15,22 +15,25 @@
RSpec::Core::RakeTask.new
task default: :spec
-desc "Generates a dummy app for Archangel"
-task :dummy_app do
- ENV["LIB_NAME"] = "archangel"
-
- Rake::Task["dummy:generate"].invoke
-end
-
desc "Remove any generated files and directories"
task :clean do
%w[
brakeman.html Gemfile.lock spec/examples.txt yarn.lock
].each { |file| rm_f file }
%w[
.yardoc coverage doc pkg archangel_* node_modules pkg spec/dummy
].each { |directory| rm_rf directory }
end
+
+desc "Generates a dummy app for Archangel"
+task :dummy_app do
+ ENV["LIB_NAME"] = "archangel"
+
+ Rake::Task["dummy:generate"].invoke
+end
+
+desc "Run RSpec tests"
+task test: :spec