Updates to scanner with CVE saving and auto update
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
zip -r ~/Downloads/PHPGuard-Source.zip PHPGuard \
|
||||
-x '*/.git/*' \
|
||||
'*/.build/*' \
|
||||
'*/DerivedData/*' \
|
||||
'*/build/*' \
|
||||
'*/dist/*' \
|
||||
'*/.DS_Store' \
|
||||
'*.dmg' \
|
||||
'*.zip'
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/bin/zsh
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
CONFIG="${CONFIGURATION:-Debug}"
|
||||
DERIVED="${DERIVED_DATA_PATH:-$ROOT/.build}"
|
||||
command -v xcodebuild >/dev/null || { echo "Xcode command line tools required" >&2; exit 1; }
|
||||
xcodebuild -project "$ROOT/PHPGuard.xcodeproj" -scheme PHPGuard -configuration "$CONFIG" -derivedDataPath "$DERIVED" CODE_SIGNING_ALLOWED=NO build
|
||||
APP="$DERIVED/Build/Products/$CONFIG/PHPGuard.app"
|
||||
[[ -d "$APP" ]] || { echo "Built application not found: $APP" >&2; exit 1; }
|
||||
echo "Built: $APP"
|
||||
if [[ "${LAUNCH_AFTER_BUILD:-1}" == "1" ]]; then open "$APP"; fi
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
xcodebuild -list -project PHPGuard.xcodeproj
|
||||
Reference in New Issue
Block a user