Skip to content

Commit 135f8ac

Browse files
committed
feat(rive): use spm from config
1 parent dca883a commit 135f8ac

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { NativeScriptConfig } from '@nativescript/core';
2+
3+
export default {
4+
ios: {
5+
SPMPackages: [
6+
{
7+
name: 'RiveRuntime',
8+
libs: ['RiveRuntime'],
9+
repositoryURL: 'https://github.com/rive-app/rive-ios.git',
10+
version: '6.0.0',
11+
},
12+
],
13+
},
14+
} as NativeScriptConfig;

packages/rive/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"main": "packages/rive/index.d.ts",
1515
"assets": [
1616
"packages/rive/*.md",
17+
"packages/rive/nativescript.config.ts",
1718
"packages/rive/index.d.ts",
1819
"LICENSE",
1920
{

packages/rive/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"outDir": "../../dist/out-tsc",
55
"rootDir": "."
66
},
7-
"exclude": ["**/*.spec.ts", "**/*.test.ts", "angular"],
7+
"exclude": ["**/*.spec.ts", "**/*.test.ts", "angular", "nativescript.config.ts"],
88
"include": ["**/*.ts", "references.d.ts"]
99
}

0 commit comments

Comments
 (0)