Skip to content

Commit b17a59d

Browse files
committed
chore: add build scripts
1 parent 26ec530 commit b17a59d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

example/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"android": "react-native run-android",
77
"ios": "react-native run-ios",
88
"start": "react-native start",
9-
"pods": "pod-install --quiet"
9+
"pods": "pod-install --quiet",
10+
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
11+
"build:ios": "cd ios && xcodebuild -workspace FreeraspReactNativeExample.xcworkspace -scheme FreeraspReactNativeExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
1012
},
1113
"dependencies": {
1214
"@react-native-material/core": "^1.3.7",

0 commit comments

Comments
 (0)