-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ade0421
commit 1f59ad0
Showing
5 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
BUNDLE_NAME="br.com.victorwads.UptimeLogger" | ||
INSTALLER_NAME="Install UptimeLogger" | ||
UNINSTALLER_NAME="Uninstall" | ||
VERSION="2.0" | ||
|
||
CACHE_FOLDER="cache" | ||
APP_FOLDER="$CACHE_FOLDER/Build/Products/Release/UptimeLogger.app" | ||
DMG_FOLDER="$CACHE_FOLDER/dmg" | ||
|
||
# Apagando testes anteriores | ||
rm -R Tests.xcresult | ||
|
||
# Apaga caches anteriores | ||
echo "\033[32mBuildando app release\033[0m" | ||
xcodebuild test -project ../UptimeLogger.xcodeproj\ | ||
-scheme UptimeLogger\ | ||
-destination 'platform=macOS'\ | ||
-derivedDataPath "$CACHE_FOLDER" | ||
|
||
xcov -p ../UptimeLogger.xcodeproj\ | ||
-s UptimeLogger --html_report\ | ||
--derived_data_path "$CACHE_FOLDER" | ||
|
||
echo "\033[32mApagando caches\033[0m" | ||
rm -rf "$CACHE_FOLDER" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters