Skip to content

Commit

Permalink
Add debug run in app task
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Oct 14, 2023
1 parent e99724b commit 1a8cc68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ namespace :smoke do
desc "create a new example app with generated specs and run them"
task app: ["clobber:app", "generate:app", "generate:stuff", :smoke]

desc "run in the example app"
task({ run: ["clobber:app", "generate:app", "generate:stuff"] }, [:cmd]) do |_t, args|
in_example_app args.cmd.to_s
end

desc "run RSPEC_OPTS environment variable in the example app for local dev"
task :rspec do
in_example_app "LOCATION='../../example_app_generator/run_specs.rb' bin/rspec #{ENV.fetch("RSPEC_OPTS")}"
Expand Down

0 comments on commit 1a8cc68

Please sign in to comment.