diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..1c8024e --- /dev/null +++ b/Rakefile @@ -0,0 +1,13 @@ +FORMAT_COMMAND = 'swift package --allow-writing-to-package-directory format' + +namespace :swift do + desc 'Run Format' + task :format do + sh FORMAT_COMMAND + end + + desc 'Run Lint' + task :lint do + sh FORMAT_COMMAND + ' --lint' + end +end