#!/bin/bash
# Simple script to fully clean out the project for distibution.

# Make sure we are in the same directory as the bat file.
pushd $(dirname $0)

rm -fr Bin
rm -fr Src/BatchBuildCommand/obj
rm -fr Src/UniteExample.MSBuild.Extensions/obj
rm -fr ExampleProject/Code/SimpleExample/bin
rm -fr ExampleProject/Code/SimpleExample/obj
rm -fr ExampleProject/Unity/Project1/Library
rm -fr ExampleProject/Unity/Project1/Temp
rm -fr ExampleProject/Unity/Project1/obj
rm -fr ExampleProject/Unity/Project1/Assets/Lib

rm -f Src/*.suo
rm -f Src/*.userprefs
rm -f Src/*.sln.cache
rm -f Src/BatchBuildCommand/*.pidb
rm -f Src/UniteExample.MSBuild.Extensions/*.pidb

rm -f ExampleProject/*.suo
rm -f ExampleProject/*.userprefs
rm -f ExampleProject/*.sln.cache
rm -f ExampleProject/*.userprefs
rm -f ExampleProject/*.sln.cache
rm -f ExampleProject/Code/*.pidb

popd