Add tests for main CLI commands

This commit is contained in:
Samuel Sieg
2023-03-14 15:58:12 +01:00
parent b668ce3f25
commit 46dad1ee6c
3 changed files with 116 additions and 6 deletions

View File

@@ -135,8 +135,10 @@ class Mrsk::Cli::Main < Mrsk::Cli::Base
puts "Binstub already exists in bin/mrsk (remove first to create a new one)"
else
puts "Adding MRSK to Gemfile and bundle..."
`bundle add mrsk`
`bundle binstubs mrsk`
run_locally do
execute :bundle, :add, :mrsk
execute :bundle, :binstubs, :mrsk
end
puts "Created binstub file in bin/mrsk"
end
end