Initial commit
This commit is contained in:
44
apple-client/project.yml
Normal file
44
apple-client/project.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
name: PrivateChatApple
|
||||
options:
|
||||
bundleIdPrefix: com.privatechat
|
||||
settings:
|
||||
base:
|
||||
SWIFT_VERSION: 6.0
|
||||
PRODUCT_BUNDLE_IDENTIFIER: com.privatechat.apple
|
||||
MARKETING_VERSION: 1.0
|
||||
CURRENT_PROJECT_VERSION: 1
|
||||
GENERATE_INFOPLIST_FILE: YES
|
||||
IPHONEOS_DEPLOYMENT_TARGET: 17.4
|
||||
MACOSX_DEPLOYMENT_TARGET: 14.4
|
||||
CODE_SIGN_STYLE: Automatic
|
||||
targets:
|
||||
PrivateChatApple:
|
||||
type: application
|
||||
supportedDestinations:
|
||||
- iOS
|
||||
- macOS
|
||||
sources:
|
||||
- path: Sources/App
|
||||
settings:
|
||||
base:
|
||||
PRODUCT_NAME: PrivateChatApple
|
||||
INFOPLIST_KEY_CFBundleDisplayName: PrivateChat
|
||||
INFOPLIST_KEY_LSApplicationCategoryType: public.app-category.social-networking
|
||||
INFOPLIST_KEY_ITSAppUsesNonExemptEncryption: NO
|
||||
CODE_SIGNING_ALLOWED: NO
|
||||
CODE_SIGNING_REQUIRED: NO
|
||||
preBuildScripts:
|
||||
- name: Build Embedded Angular Client
|
||||
script: |
|
||||
set -euo pipefail
|
||||
cd "$SRCROOT/.."
|
||||
mkdir -p "$SRCROOT/WebApp"
|
||||
npm run build --prefix client -- --base-href ./ --output-path "$SRCROOT/WebApp"
|
||||
postBuildScripts:
|
||||
- name: Copy Embedded Angular Client
|
||||
script: |
|
||||
set -euo pipefail
|
||||
DESTINATION="$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/WebApp"
|
||||
rm -rf "$DESTINATION"
|
||||
mkdir -p "$DESTINATION"
|
||||
cp -R "$SRCROOT/WebApp/." "$DESTINATION"
|
||||
Reference in New Issue
Block a user