Skip to content

Commit 264249a

Browse files
committed
chore(examples): add shebang to setup.sh
1 parent fc6f934 commit 264249a

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/actions/setup-demo/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ runs:
4545
- name: Update CocoaPods
4646
if: inputs.install-pods == 'true'
4747
shell: bash
48-
working-directory: examples/demo
49-
run: vp run update:pods
48+
working-directory: examples/demo/ios
49+
run: pod update OneSignalXCFramework --no-repo-update
5050

5151
- name: Create demo .env
5252
shell: bash

examples/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"preios": "bun run setup",
99
"android": "bash ../run-android.sh",
1010
"ios": "bash ../run-ios.sh",
11-
"update:pods": "cd ios && pod update OneSignalXCFramework && cd ..",
11+
"update:pods": "(cd ios && pod update OneSignalXCFramework --no-repo-update)",
1212
"clean:android": "rm -rf android/app/build android/app/.cxx android/build && adb uninstall com.onesignal.example >/dev/null 2>&1 || true",
1313
"clean:ios": "rm -rf ios/build ios/Pods",
1414
"start": "react-native start"

examples/setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
set -euo pipefail
23

34
# Invoked from a demo dir (e.g. examples/demo/) via `bun run setup`.

0 commit comments

Comments
 (0)