-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add android and js polaris.yml * Updating package version * Fix android polaris.yml * Combine react-native polaris files * Add iOS portion of config file * Updating package version * Add iOS script for polaris Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: David Luco <[email protected]>
- Loading branch information
1 parent
0574905
commit 96a5320
Showing
3 changed files
with
63 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: "1" | ||
project: | ||
name: ${scm.git.repo} | ||
branch: ${scm.git.branch} | ||
revision: | ||
name: ${scm.git.commit} | ||
date: ${scm.git.commit.date} | ||
capture: | ||
fileSystem: | ||
java: | ||
files: | ||
- directory: ./android | ||
javascript: | ||
files: | ||
- directory: ./lib/src | ||
- excludeRegex: node_modules|__test__ | ||
typescript: | ||
files: | ||
- directory: ./src | ||
- excludeRegex: node_modules|__test__ | ||
build: | ||
buildCommands: | ||
- shell: [bash, -e, scripts/ios/run_polaris.sh] | ||
coverity: | ||
skipFiles: | ||
- "example/ios/Pods" | ||
analyze: | ||
mode: central | ||
install: | ||
coverity: | ||
version: default | ||
serverUrl: https://pdftron.polaris.synopsys.com/ |
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,30 @@ | ||
#!/bin/bash | ||
|
||
readonly project_dir="example/" | ||
|
||
cd "${project_dir}" | ||
|
||
# Install the Flutter package dependencies, which contain Dart and native iOS code. | ||
|
||
echo "Installing node packages..." | ||
|
||
yarn install | ||
|
||
# Install the CocoaPods package dependencies. | ||
|
||
cd 'ios/' | ||
|
||
echo "Installing CocoaPods packages..." | ||
|
||
pod install | ||
|
||
# Build the iOS workspace. | ||
|
||
echo "Building iOS workspace..." | ||
|
||
xcodebuild \ | ||
-workspace 'example.xcworkspace' \ | ||
-scheme 'example' \ | ||
-configuration 'Debug' \ | ||
-destination 'generic/platform=iOS Simulator' \ | ||
clean build |