Add setup commands for Mac

This commit is contained in:
Wojtek Figat
2021-12-27 14:50:02 +01:00
parent dfaa7a92b3
commit d61eb9c096
4 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Copyright (c) 2012-2021 Wojciech Figat. All rights reserved
set -e
testfilesize=$(wc -c < 'Source/Logo.png')
if [ $testfilesize -le 1000 ]; then
echo "CallBuildTool ERROR: Repository was not cloned using Git LFS" 1>&2
exit 1
fi
# Compile the build tool.
xbuild /nologo /verbosity:quiet "Source/Tools/Flax.Build/Flax.Build.csproj" /property:Configuration=Release /property:Platform=AnyCPU /target:Build
# Run the build tool using the provided arguments.
#mono --debug --debugger-agent=transport=dt_socket,server=y,address=127.0.0.1:55555 Binaries/Tools/Flax.Build.exe "$@"
mono Binaries/Tools/Flax.Build.exe "$@"