#!/bin/bash

set -euo pipefail

# Override GOCC codegen with customized error handling
cp src/parsing/errors.go.template src/parsing/errors/errors.go

go build mlr.go
cp mlr mlrgo
echo "Compile OK"
