#!/bin/bash

function check_okay {
	if [ $? -ne 0 ]
	then
		echo
		pwd
		echo "build FAILED"
		echo
		exit 1
	fi
}

cd eosDT_builder
./clean
check_okay
cd make
make ceos
check_okay
cd ../..

cd eosPT_builder
./clean
check_okay
cd make
make ceos
check_okay
cd ../..

