Skip to content

Commit e5febe8

Browse files
author
Alex Usbergo
committed
new build project file
1 parent f662f18 commit e5febe8

File tree

73 files changed

+1357
-885
lines changed

Some content is hidden

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

73 files changed

+1357
-885
lines changed

Neutrino/RenderNeutrino.xcodeproj/project.pbxproj

Lines changed: 0 additions & 835 deletions
This file was deleted.

Neutrino/generate/generate-Bridging-Header.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

Render.xcodeproj/project.pbxproj

Lines changed: 732 additions & 0 deletions
Large diffs are not rendered by default.

Neutrino/RenderNeutrino.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to Render.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0930"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "NT_479945003232"
18+
BuildableName = "Test.xctest"
19+
BlueprintName = "Test"
20+
ReferencedContainer = "container:Render.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
codeCoverageEnabled = "YES"
30+
shouldUseLaunchSchemeArgsEnv = "NO">
31+
<Testables>
32+
<TestableReference
33+
skipped = "NO">
34+
<BuildableReference
35+
BuildableIdentifier = "primary"
36+
BlueprintIdentifier = "NT_479945003232"
37+
BuildableName = "Test.xctest"
38+
BlueprintName = "Test"
39+
ReferencedContainer = "container:Render.xcodeproj">
40+
</BuildableReference>
41+
</TestableReference>
42+
</Testables>
43+
<MacroExpansion>
44+
<BuildableReference
45+
BuildableIdentifier = "primary"
46+
BlueprintIdentifier = "NT_479945003232"
47+
BuildableName = "Test.xctest"
48+
BlueprintName = "Test"
49+
ReferencedContainer = "container:Render.xcodeproj">
50+
</BuildableReference>
51+
</MacroExpansion>
52+
<CommandLineArguments>
53+
</CommandLineArguments>
54+
<EnvironmentVariables>
55+
<EnvironmentVariable
56+
key = "TEST"
57+
value = "YES"
58+
isEnabled = "YES">
59+
</EnvironmentVariable>
60+
<EnvironmentVariable
61+
key = "RENDER_MOD_STYLESHEET"
62+
value = "YES"
63+
isEnabled = "YES">
64+
</EnvironmentVariable>
65+
</EnvironmentVariables>
66+
<AdditionalOptions>
67+
</AdditionalOptions>
68+
</TestAction>
69+
<LaunchAction
70+
buildConfiguration = "Debug"
71+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
72+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
73+
launchStyle = "0"
74+
useCustomWorkingDirectory = "NO"
75+
ignoresPersistentStateOnLaunch = "NO"
76+
debugDocumentVersioning = "YES"
77+
debugServiceExtension = "internal"
78+
allowLocationSimulation = "YES">
79+
<BuildableProductRunnable
80+
runnableDebuggingMode = "0">
81+
<BuildableReference
82+
BuildableIdentifier = "primary"
83+
BlueprintIdentifier = "NT_479945003232"
84+
BuildableName = "Test.xctest"
85+
BlueprintName = "Test"
86+
ReferencedContainer = "container:Render.xcodeproj">
87+
</BuildableReference>
88+
</BuildableProductRunnable>
89+
<CommandLineArguments>
90+
</CommandLineArguments>
91+
<EnvironmentVariables>
92+
<EnvironmentVariable
93+
key = "TEST"
94+
value = "YES"
95+
isEnabled = "YES">
96+
</EnvironmentVariable>
97+
<EnvironmentVariable
98+
key = "RENDER_MOD_STYLESHEET"
99+
value = "YES"
100+
isEnabled = "YES">
101+
</EnvironmentVariable>
102+
</EnvironmentVariables>
103+
<AdditionalOptions>
104+
</AdditionalOptions>
105+
</LaunchAction>
106+
<ProfileAction
107+
buildConfiguration = "Release"
108+
shouldUseLaunchSchemeArgsEnv = "NO"
109+
savedToolIdentifier = ""
110+
useCustomWorkingDirectory = "NO"
111+
debugDocumentVersioning = "YES">
112+
<BuildableProductRunnable
113+
runnableDebuggingMode = "0">
114+
<BuildableReference
115+
BuildableIdentifier = "primary"
116+
BlueprintIdentifier = "NT_479945003232"
117+
BuildableName = "Test.xctest"
118+
BlueprintName = "Test"
119+
ReferencedContainer = "container:Render.xcodeproj">
120+
</BuildableReference>
121+
</BuildableProductRunnable>
122+
<CommandLineArguments>
123+
</CommandLineArguments>
124+
<EnvironmentVariables>
125+
<EnvironmentVariable
126+
key = "TEST"
127+
value = "YES"
128+
isEnabled = "YES">
129+
</EnvironmentVariable>
130+
<EnvironmentVariable
131+
key = "RENDER_MOD_STYLESHEET"
132+
value = "YES"
133+
isEnabled = "YES">
134+
</EnvironmentVariable>
135+
</EnvironmentVariables>
136+
</ProfileAction>
137+
<AnalyzeAction
138+
buildConfiguration = "Debug">
139+
</AnalyzeAction>
140+
<ArchiveAction
141+
buildConfiguration = "Release"
142+
revealArchiveInOrganizer = "YES">
143+
</ArchiveAction>
144+
</Scheme>

RenderNeutrino.podspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "RenderNeutrino"
3-
s.version = "5.1"
3+
s.version = "5.2"
44
s.summary = "Render is a declarative library for building efficient UIs on iOS inspired by React."
55
s.description = <<-DESC
66
Render is a declarative library for building efficient UIs on iOS inspired by React.
@@ -17,6 +17,7 @@ Pod::Spec.new do |s|
1717
s.source = { :git => "https://github.com/alexdrone/Render.git", :tag => s.version.to_s }
1818
s.social_media_url = 'https://twitter.com/alexdrone'
1919
s.ios.deployment_target = '10.0'
20-
s.ios.vendored_frameworks = 'bin/RenderNeutrino.framework'
20+
s.source_files = 'render/**/*.{swift,h,m}'
21+
2122

2223
end

configs/Debug.xcconfig

Whitespace-only changes.

configs/Release.xcconfig

Whitespace-only changes.

project.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Render
2+
options:
3+
deploymentTarget:
4+
iOS: 10.0
5+
usesTabs: false
6+
indentWidth: 2
7+
targets:
8+
RenderNeutrino: &base
9+
platform: iOS
10+
type: framework
11+
sources:
12+
- render/
13+
- mods/
14+
headers:
15+
- render/RenderNeutrino.h
16+
- render/deps/yoga/
17+
- mods/deps/yaml/yaml.h
18+
settings:
19+
base:
20+
INFOPLIST_FILE: render/Info.plist
21+
PRODUCT_BUNDLE_IDENTIFIER: io.alexdrone.render
22+
PLATFORM: platform $platform
23+
SWIFT_WHOLE_MODULE_OPTIMIZATION: YES
24+
configFiles:
25+
Debug: configs/Debug.xcconfig
26+
Release: configs/Release.xcconfig
27+
Generate:
28+
platform: macOS
29+
type: application
30+
sources:
31+
- tools/src/generate/
32+
- mods/stylesheet/
33+
headers:
34+
- tools/src/generate/generate-Bridging-Header.h
35+
settings:
36+
base:
37+
SWIFT_OBJC_BRIDGING_HEADER: tools/src/generate/generate-Bridging-Header.h
38+
Test:
39+
platform: iOS
40+
type: bundle.unit-test
41+
sources:
42+
- test
43+
dependencies:
44+
- target: RenderNeutrino
45+
scheme:
46+
testTargets:
47+
- Test
48+
gatherCoverageData: true
49+
environmentVariables:
50+
- variable: TEST
51+
value: YES
52+
isEnabled: true
53+
- variable: RENDER_MOD_STYLESHEET
54+
value: YES
55+
isEnabled: true
File renamed without changes.
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//
2-
// RenderNeutrino.h
3-
// RenderNeutrino
4-
//
5-
// Created by Alex Usbergo on 2017-10-11.
6-
// Copyright © 2017 Alex Usbergo. All rights reserved.
7-
//
8-
91
#import <UIKit/UIKit.h>
102
#import <RenderNeutrino/UIView+Yoga.h>
113
#import <RenderNeutrino/YGEnums.h>
@@ -23,6 +15,4 @@ FOUNDATION_EXPORT double RenderPureVersionNumber;
2315
//! Project version string for RenderNeutrino.
2416
FOUNDATION_EXPORT const unsigned char RenderPureVersionString[];
2517

26-
// In this header, you should import all the public headers of your framework using statements like #import <RenderNeutrino/PublicHeader.h>
27-
2818

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Neutrino/mods/stylesheet/tests/StylesheetTests.swift renamed to test/StylesheetTests.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import XCTest
22
import UIKit
33
@testable import RenderNeutrino
4-
4+
#if RENDER_MOD_STYLESHEET
55
class StylesheetTests: XCTestCase {
66

77
let test: String = "Test"
@@ -160,3 +160,5 @@ View:
160160
width_percentage: 100
161161
customNonApplicableProperty: 42
162162
"""
163+
#endif
164+

0 commit comments

Comments
 (0)