#!/bin/bash # This script takes care of testing your crate set -ex # This is the test phase. We will only build if tests happened before. main() { cross build --target $TARGET cross build --target $TARGET --release } main