namespace :coco do desc "Run Ruby and JS tests" task :test do puts "🥥 Running Ruby tests..." Rake::Task["test"].execute puts "✅ Ruby tests complete" puts "🥥 Running JS tests..." system "npm run js:test" puts "✅JS tests complete" end task :lint do puts "🥥 Running standardrb..." Rake::Task["standard"].execute puts "✅ standardrb complete" puts "🥥 Running prettier..." system "npx prettier . --check --config ./package.json" puts "✅ prettier complete" end namespace :lint do desc "Lint & fix files" task :fix do puts "🥥 Running standardrb..." Rake::Task["standard:fix"].execute puts "✅ standardrb complete" puts "🥥 Running prettier..." system "npx prettier . --write --config ./package.json" puts "✅ prettier complete" end end namespace :assets do desc "Build assets" task :build do puts "🥥 Building assets..." system "npm run build" puts "✅ Asset build complete" end end end