Rakefile in berkeley_library-logging-0.2.4 vs Rakefile in berkeley_library-logging-0.2.5
- old
+ new
@@ -17,12 +17,14 @@
end
# ------------------------------------------------------------
# Custom tasks
-desc 'Remove artifacts directory'
+desc 'Remove artifacts directory, except for .keep file'
task :clean do
FileUtils.rm_rf('artifacts')
+ FileUtils.mkdir('artifacts')
+ FileUtils.touch(File.join('artifacts', '.keep'))
end
desc 'Check test coverage, check code style, check gems for vulnerabilities'
task check: %w[coverage rubocop bundle:audit]