Rakefile 505 B

1234567891011121314151617181920212223
  1. # frozen_string_literal: true
  2. require "bundler/gem_tasks"
  3. require "minitest/test_task"
  4. Minitest::TestTask.create
  5. desc 'install and run organize'
  6. task :test_organize => :install do
  7. sh 'fotos organize -s ~/Downloads/bemol-2025/bemol-2025-hania -d ~/Desktop/bemol-test'
  8. end
  9. desc 'install and run build'
  10. task :test_build => :install do
  11. sh 'fotos build -s ~/Desktop/bemol-test -d ~/Desktop/bemol-test -t'
  12. end
  13. desc 'cleanup'
  14. task :cleanup do
  15. sh 'rm -rf ~/Desktop/bemol-test'
  16. end
  17. task default: :test