blob: 84909c3c01f269578a5bb9b2c4c8a0280587692a [file] [edit]
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -x
bundle install --jobs 4 --retry 3
bundle install --jobs 4 --retry 3 --gemfile=steep/Gemfile || echo "🚨 Failed to install Steep"
bundle exec rake compile
if type "re2c" > /dev/null 2>&1; then
echo "🤖 Detected re2c"
else
echo "🚨 Cannot find re2c, which is required to generate lexer. Install the tool to change the lexer."
fi