# Any 'run once' setup should go here as this file is evaluated
# when the environment loads.
# Any helper functions added here will be available in step
# definitions

ENV['BUGSNAG_APIKEY'] = 'a35a2a72bd230ac0aa0f52715bbdc6aa'
run_required_commands([
  ["features/scripts/create_unity_project.sh"]
])

# Scenario hooks
Before do
# Runs before every Scenario
end

After do
# Runs after every Scenario
end

at_exit do
  sh "pkill", "Mazerunner"
  FileUtils.rm_rf('features/fixtures/Mazerunner.app')
  FileUtils.rm_rf('features/fixtures/unity_project')
end

# Any 'run once' setup should go here as this file is evaluated
# when the environment loads.
# Any helper functions added here will be available in step
# definitions

ENV['BUGSNAG_APIKEY'] = 'a35a2a72bd230ac0aa0f52715bbdc6aa'
run_required_commands([
  ["features/scripts/create_unity_project.sh"]
])

# Scenario hooks
Before do
# Runs before every Scenario
end

After do
# Runs after every Scenario
end

at_exit do
  `pkill Mazerunner`
  FileUtils.rm_rf('features/fixtures/Mazerunner.app')
  FileUtils.rm_rf('features/fixtures/unity_project')
end

Fix postprocessing as `sh` may not be available
tests: Fix postprocessing as `sh` may not be available