28 lines
310 B
Bash
28 lines
310 B
Bash
#!/bin/bash
|
|
cd /Volumes/Developer/Applications/DbSyn
|
|
&& rm -rf ./build
|
|
&&
|
|
xcodebuild
|
|
-project
|
|
DBSyn.xcodeproj
|
|
-scheme
|
|
DBSyn
|
|
-configuration
|
|
Debug
|
|
-destination
|
|
'platform=macOS,arch=arm64'
|
|
-derivedDataPath
|
|
./build
|
|
clean
|
|
build
|
|
&&
|
|
{
|
|
pkill
|
|
-x
|
|
DBSyn
|
|
2>/dev/null
|
|
||
|
|
true;
|
|
open
|
|
./build/Build/Products/Debug/DBSyn.app;
|
|
} |