#!/bin/sh

/Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Commands/gmcs -r:/Applications/Unity/Unity.app/Contents/Frameworks/Managed/UnityEngine.dll -target:library Assets/UMeCab/Scripts/LibNMeCab/{,**/}*.cs -out:UMeCab.dll

rm -rf Assets/UMeCab/Scripts/LibNMeCab/
rm -f Assets/UMeCab/Scripts/LibNMeCab.meta

mv UMeCab.dll Assets/UMeCab/Scripts/
