Skip to content

Commit a110b0f

Browse files
committed
Add debug run in app task
1 parent 1acaae3 commit a110b0f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Rakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ namespace :smoke do
9696
desc "create a new example app with generated specs and run them"
9797
task app: ["clobber:app", "generate:app", "generate:stuff", :smoke]
9898

99+
desc "run in the example app"
100+
task({ run: ["clobber:app", "generate:app", "generate:stuff"] }, [:cmd]) do |_t, args|
101+
in_example_app args.cmd.to_s
102+
end
103+
99104
desc "run RSPEC_OPTS environment variable in the example app for local dev"
100105
task :rspec do
101106
in_example_app "LOCATION='../../example_app_generator/run_specs.rb' bin/rspec #{ENV.fetch("RSPEC_OPTS")}"

0 commit comments

Comments
 (0)