Skip to content

Commit

Permalink
Make example-macos use RNTesterApp instead of bespoke app
Browse files Browse the repository at this point in the history
  • Loading branch information
shirakaba committed Oct 30, 2024
1 parent 87d1054 commit 5a76db5
Show file tree
Hide file tree
Showing 25 changed files with 3,290 additions and 2,182 deletions.
82 changes: 12 additions & 70 deletions example-macos/.gitignore
Original file line number Diff line number Diff line change
@@ -1,74 +1,16 @@
# OSX
#
*.binlog
*.hprof
*.xcworkspace/
*.zip
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
**/.xcode.env.local

# Android/IntelliJ
#
.gradle/
.idea/
.vs/
.xcode.env
Pods/
build/
.idea
.gradle
dist/*
!dist/.gitignore
local.properties
*.iml
*.hprof
.cxx/
*.keystore
!debug.keystore

# node.js
#
msbuild.binlog
node_modules/
npm-debug.log
yarn-error.log

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output

# Bundle artifact
*.jsbundle

# Ruby / CocoaPods
**/Pods/
/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

# testing
/coverage

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
2 changes: 1 addition & 1 deletion example-macos/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
105 changes: 0 additions & 105 deletions example-macos/Gemfile.lock

This file was deleted.

15 changes: 14 additions & 1 deletion example-macos/app.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
{
"name": "RNSACExample"
"name": "RNSACExample-macOS",
"displayName": "RNSACExample-macOS",
"components": [
{
"appKey": "RNSACExample-macOS",
"displayName": "RNSACExample-macOS"
}
],
"resources": {
"macos": [
"dist/assets",
"dist/main.macos.jsbundle"
]
}
}
2 changes: 1 addition & 1 deletion example-macos/macos/.xcode.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export NODE_BINARY=$(command -v node)
export NODE_BINARY=/usr/local/bin/node
7 changes: 0 additions & 7 deletions example-macos/macos/Example-macOS/AppDelegate.h

This file was deleted.

41 changes: 0 additions & 41 deletions example-macos/macos/Example-macOS/AppDelegate.mm

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 5a76db5

Please sign in to comment.