diff --git a/lib/motion/project.rb b/lib/motion/project.rb index 9f1f3354..d0a71a0e 100644 --- a/lib/motion/project.rb +++ b/lib/motion/project.rb @@ -87,7 +87,6 @@ task :ctags do end end -desc "Open the latest crash report generated for the app" # This task does not have a description as it is being used by template Rakefiles instead. task :__local_crashlog do logs = Dir.glob(File.join(File.expand_path("~/Library/Logs/DiagnosticReports/"), "#{App.config.name}_*")) diff --git a/lib/motion/project/template/osx.rb b/lib/motion/project/template/osx.rb index 643f134d..77def4fe 100644 --- a/lib/motion/project/template/osx.rb +++ b/lib/motion/project/template/osx.rb @@ -123,3 +123,6 @@ end desc 'Same as profile:development' task :profile => 'profile:development' + +desc "Open the latest crash report generated for the app" +task :crashlog => :__local_crashlog