Skip to content

Commit

Permalink
checking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rsantosbliss committed Jan 17, 2021
2 parents f240099 + 19b4f48 commit 09e8cfb
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 105 deletions.
198 changes: 99 additions & 99 deletions Documents/Graph.json
Original file line number Diff line number Diff line change
@@ -1,154 +1,115 @@
{
"configs" : {
"Release" : "release",
"Debug" : "debug"
},
"name" : "RJSLibUF",
"options" : {
"minimumXcodeGenVersion" : "2.18.0",
"groupSortPosition" : "top",
"xcodeVersion" : "12.0.1",
"deploymentTarget" : "11.0",
"groupSortPosition" : "top",
"findCarthageFrameworks" : false,
"generateEmptyDirectories" : true,
"bundleIdPrefix" : "com.rjps.libuf",
"findCarthageFrameworks" : false
},
"targetTemplates" : {
"Framework" : {
"settings" : {
"base" : {
"MARKETING_VERSION" : "1.2.1"
}
},
"platform" : "iOS",
"deploymentTarget" : 10,
"type" : "framework"
}
"xcodeVersion" : "12.0.1",
"bundleIdPrefix" : "com.rjps.libuf"
},
"targets" : {
"RJSLibUFBase" : {
"sources" : [
{
"path" : "..\/Sources\/RJSLibUFBase"
}
],
"templates" : [
"Framework"
]
},
"RJSLibUFALayouts" : {
"templates" : [
"Framework"
],
"MyLibraryTests" : {
"type" : "bundle.unit-test",
"scheme" : {

},
"dependencies" : [
{
"link" : false,
"target" : "SampleApp"
},
{
"link" : false,
"target" : "RJSLibUFBase"
},
{
"target" : "RJSLibUFNetworking",
"link" : false
},
{
"link" : false,
"target" : "RJSLibUFALayouts"
},
{
"target" : "RJSLibUFStorage",
"link" : false
}
],
"sources" : [
{
"path" : "..\/Sources\/RJSLibUFALayouts"
"path" : "..\/Tests\/RJSLibUFTests"
}
]
],
"platform" : "iOS"
},
"RJSLibUFStorage" : {
"RJSLibUFALayouts" : {
"dependencies" : [
{
"link" : false,
"target" : "RJSLibUFBase"
"target" : "RJSLibUFBase",
"link" : false
}
],
"templates" : [
"Framework"
],
"sources" : [
{
"path" : "..\/Sources\/RJSLibUFStorage"
"path" : "..\/Sources\/RJSLibUFALayouts"
}
],
"templates" : [
"Framework"
]
},
"RJSLibUFAppThemes" : {
"templates" : [
"Framework"
],
"sources" : [
{
"path" : "..\/Sources\/RJSLibUFAppThemes"
}
],
"dependencies" : [
{
"target" : "RJSLibUFBase",
"link" : false
}
]
},
"RJSLibUFNetworking" : {
"dependencies" : [
{
"link" : false,
"target" : "RJSLibUFBase"
}
],
"sources" : [
{
"path" : "..\/Sources\/RJSLibUFNetworking"
"path" : "..\/Sources\/RJSLibUFAppThemes"
}
],
"templates" : [
"Framework"
]
},
"MyLibraryTests" : {
"RJSLibUFStorage" : {
"templates" : [
"Framework"
],
"sources" : [
{
"path" : "..\/Tests\/RJSLibUFTests"
"path" : "..\/Sources\/RJSLibUFStorage"
}
],
"dependencies" : [
{
"target" : "SampleApp",
"link" : false
},
{
"target" : "RJSLibUFBase",
"link" : false
},
{
"target" : "RJSLibUFNetworking",
"link" : false
},
{
"link" : false,
"target" : "RJSLibUFALayouts"
},
{
"link" : false,
"target" : "RJSLibUFStorage"
"target" : "RJSLibUFBase"
}
],
"scheme" : {

},
"type" : "bundle.unit-test",
"platform" : "iOS"
]
},
"SampleApp" : {
"settings" : {
"base" : {
"MARKETING_VERSION" : 1
}
},
"platform" : "iOS",
"deploymentTarget" : 10,
"sources" : [
{
"path" : "..\/SampleApp"
}
],
"postCompileScripts" : [
{
"script" : "if which swiftlint >\/dev\/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https:\/\/github.com\/realm\/SwiftLint\"\nfi\n",
"name" : "Run SwiftLint"
"name" : "Run SwiftLint",
"script" : "if which swiftlint >\/dev\/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https:\/\/github.com\/realm\/SwiftLint\"\nfi\n"
}
],
"type" : "application",
"platform" : "iOS",
"dependencies" : [
{
"target" : "RJSLibUFBase",
Expand All @@ -167,27 +128,66 @@
"target" : "RJSLibUFALayouts"
},
{
"target" : "RJSLibUFStorage",
"link" : true
"link" : true,
"target" : "RJSLibUFStorage"
}
],
"settings" : {
"base" : {
"MARKETING_VERSION" : 1
}
},
"deploymentTarget" : 13
},
"RJSLibUFBase" : {
"templates" : [
"Framework"
],
"sources" : [
{
"path" : "..\/Sources\/RJSLibUFBase"
}
]
},
"RJSLibUFNetworking" : {
"dependencies" : [
{
"link" : false,
"target" : "RJSLibUFBase"
}
],
"sources" : [
{
"path" : "..\/Sources\/RJSLibUFNetworking"
}
],
"templates" : [
"Framework"
]
}
},
"configs" : {
"Release" : "release",
"Debug" : "debug"
},
"settings" : {
"base" : {
"SWIFT_VERSION" : 5.2999999999999998,
"ENABLE_BITCODE" : false,
"IPHONEOS_DEPLOYMENT_TARGET" : 10,
"SWIFT_VERSION" : 5.2999999999999998
"IPHONEOS_DEPLOYMENT_TARGET" : 13
},
"configs" : {
"Release" : {
"ENABLE_BITCODE" : true
}
}
},
"name" : "RJSLibUF"
"targetTemplates" : {
"Framework" : {
"deploymentTarget" : 13,
"settings" : {
"base" : {
"MARKETING_VERSION" : "1.2.1"
}
},
"platform" : "iOS",
"type" : "framework"
}
}
}
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let swiftSettings:[SwiftSetting] = [

let package = Package(
name: swiftPackageManagerName,
platforms: [.iOS(.v10), .macOS(.v10_15)],
platforms: [.iOS(.v13), .macOS(.v10_15)],
products: [
libraryWith(name: spmBaseTargetName),
libraryWith(name: spmALayoutsTargetName),
Expand Down
30 changes: 30 additions & 0 deletions Sources/RJSLibUFAppThemes/Sources/SizesNames.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// Created by Ricardo Santos on 17/01/2021.
//

import Foundation

public enum SizesNames: Int, Codable {
case size_1 = 2 // Preferred
case size_2 = 4
case size_3 = 8 // Unit
case size_4 = 16 // Base
case size_5 = 24
case size_6 = 32 // Preferred
case size_7 = 40
case size_8 = 48
case size_9 = 56
case size_10 = 64 // Preferred
case size_11 = 72
case size_12 = 80
case size_13 = 88
case size_14 = 96
case size_15 = 104
case size_16 = 112
case size_17 = 120
case size_18 = 128
case size_19 = 136
case size_20 = 144
case size_21 = 152
case size_22 = 160
}
6 changes: 3 additions & 3 deletions Xcodegen/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ configs:

settings:
base:
IPHONEOS_DEPLOYMENT_TARGET: 10.0
IPHONEOS_DEPLOYMENT_TARGET: 13.0
ENABLE_BITCODE: NO
SWIFT_VERSION: 5.3
configs:
Expand All @@ -45,7 +45,7 @@ targetTemplates:
Framework:
type: framework
platform: iOS
deploymentTarget: 10.0
deploymentTarget: 13.0
settings:
base:
MARKETING_VERSION: 1.2.1
Expand All @@ -61,7 +61,7 @@ targets:
SampleApp:
type: application
platform: iOS
deploymentTarget: 10.0
deploymentTarget: 13.0
settings:
base:
MARKETING_VERSION: 1.0
Expand Down
4 changes: 2 additions & 2 deletions Xcodegen/project2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ options:
packages:
RJSLibUF:
url: https://github.com/ricardopsantos/RJSLibUF
from: 1.0.2
from: 1.0.3

####################### SETTINGS #######################

Expand All @@ -35,7 +35,7 @@ targets:
SampleApp:
type: application
platform: iOS
deploymentTarget: 10.0
deploymentTarget: 13.0
settings:
base:
MARKETING_VERSION: 1.0
Expand Down

0 comments on commit 09e8cfb

Please sign in to comment.