Skip to content

Commit 1e4c54e

Browse files
authored
chore: add example app, initial extraction (#1)
1 parent caa7afa commit 1e4c54e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+17296
-0
lines changed

React-jsc.podspec

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
6+
require "json"
7+
8+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
9+
version = package['version']
10+
11+
Pod::Spec.new do |s|
12+
s.name = "React-jsc"
13+
s.version = version
14+
s.summary = "JavaScriptCore engine for React Native"
15+
s.homepage = "https://github.com/react-native-community/javascriptcore"
16+
s.license = package["license"]
17+
s.author = "Meta Platforms, Inc. and its affiliates"
18+
s.platforms = { :ios => "15.1", :tvos => "15.1", :visionos => "1.0", :osx => "10.15" }
19+
s.source = { :git => "https://github.com/react-native-community/javascriptcore", :tag => "#{s.version}" }
20+
s.source_files = "common/*.{cpp,h}", "ios/*.{mm,h}"
21+
s.weak_framework = "JavaScriptCore"
22+
23+
# TODO: Figure this out. Probably we need a copy of JSI
24+
# s.dependency "React-jsi", version
25+
26+
s.subspec "Fabric" do |ss|
27+
ss.pod_target_xcconfig = { "OTHER_CFLAGS" => "$(inherited)" }
28+
end
29+
end

android/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)