success = system(File.realpath("#{__dir__}/../scripts/build-fixtures"))

raise "Unable to build fixtures!" unless success

`command -v sam`

if $? != 0
  puts <<~ERROR
  The AWS SAM CLI must be installed before running these tests!

  See the installation instructions:
  https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html

  If you have already installed the SAM CLI, check that it's in your PATH:
  $ command -v sam
  ERROR

  exit 127
end

success = system(File.realpath("#{__dir__}/../scripts/build-fixtures"))

raise "Unable to build fixtures!" unless success

Check SAM is installed before running
Check SAM is installed before running
