Commit Graph
203 Commits
Author SHA1 Message Date
Palmero, Antonio 62f72d39bc Filter out NSNull elements from the json dictionary.
This change allows us to override default BuildSettings.
For example:

If I want to keep the attribute SWIFT_OBJC_INTERFACE_HEADER_NAME empty,
(by default it contains some value). I just need to override this value
in the settings spec.

Before If I keep property empty, then in the generated settings the value
appear as <null>.

The method implemented recursively loop through the json dictionary
looking for NSNull objects and replace them by an empty string.

Filter out NSNull elements from the json dictionary.

This change allows us to override default BuildSettings.
For example:

If I want to keep the attribute SWIFT_OBJC_INTERFACE_HEADER_NAME empty,
(by default it contains some value). I just need to override this value
in the settings spec.

Before If I keep property empty, then in the generated settings the value
appear as <null>.

The method implemented recursively loop through the json dictionary
looking for NSNull objects and replace them by an empty string.
2017-09-13 13:58:32 +02:00
Yonas Kolb 714daa8b7f Merge pull request #48 from antoniocasero/master
Add support to C and C++ files in ‘Compile sources’
2017-09-09 19:56:03 +02:00
Palmero, Antonio 09ef25bd0d Add support to C and C++ files in ‘Compile sources’
Previously the Compile Sources section was empty because it was not able
to recognize the file extension.
2017-09-08 17:21:33 +02:00
Yonas Kolb a4f47e9a3a update Homebrew formula to 0.6.1 2017-08-30 17:40:38 +02:00
Yonas Kolb aae0d99ca8 0.6.1 changelog 2017-08-30 17:39:38 +02:00
Yonas Kolb ffd07ac5aa Merge pull request #45 from yonaskolb/project_attributes
Project attributes
0.6.1
2017-08-30 17:23:20 +02:00
Yonas Kolb b6ac25d4ab Merge pull request #46 from yonaskolb/application_platform_templates
Product + Platform setting presets
2017-08-30 17:23:11 +02:00
Yonas Kolb 016040d6bf move code signing settings from iOS to application_iOS 2017-08-30 17:20:32 +02:00
Yonas Kolb 86b3e1334e load setting preset for combination of product and platform 2017-08-30 17:19:53 +02:00
Yonas Kolb ea41e6bbc6 set project attributes 2017-08-30 17:06:41 +02:00
Yonas Kolb 183630159e don't bother linking target dependencies 2017-08-30 16:46:31 +02:00
Yonas Kolb 9b4001cd94 update homebrew formula to 0.6.0 2017-08-30 15:07:19 +02:00
Yonas Kolb c952c67180 0.6.0 changelog 0.6.0 2017-08-30 15:06:12 +02:00
Yonas Kolb 4f14203e6c changed default spec name to project.yaml and project to directory 2017-08-30 15:03:22 +02:00
Yonas Kolb f646e07f27 Merge pull request #44 from yonaskolb/includes
Project Spec includes
2017-08-30 14:08:03 +02:00
Yonas Kolb 61fd9bafb8 spec include documentation 2017-08-30 13:03:05 +02:00
Yonas Kolb 6774934a1b support include array in spec that merges other specs 2017-08-30 12:58:10 +02:00
Yonas Kolb 873943b4c8 update homebrew formula 2017-08-28 19:11:17 +02:00
Yonas Kolb ecd9bbec92 0.5.1 changelog 0.5.1 2017-08-28 19:09:13 +02:00
Yonas Kolb 0f8875902b Merge pull request #43 from yonaskolb/fix_build_scripts
Fix "" not escaping in build scripts
2017-08-28 18:22:29 +02:00
Yonas Kolb 6bfb0eade6 fix "" not escaping in build scripts 2017-08-28 17:44:42 +02:00
Yonas Kolb 24b9bfa8f1 add CODE_SIGN_IDENTITY[sdk=iphoneos*] for iOS targets 2017-08-28 17:23:38 +02:00
Yonas Kolb 4bf00f42d5 fix embedded framework dependencies 2017-08-28 14:19:00 +02:00
Yonas Kolb 56740c3ea6 tweak build settings format 2017-08-27 17:54:23 +02:00
Yonas Kolb fd399312a8 Update README.md 2017-08-27 16:58:36 +02:00
Yonas Kolb 96ec0e6998 Update CHANGELOG.md 2017-08-27 16:44:50 +02:00
Yonas Kolb a6a55a8775 Fix PR links 2017-08-27 16:43:02 +02:00
Yonas Kolb 45dc1c94dd update homebrew formula 2017-08-27 12:43:29 +02:00
Yonas Kolb b518c41c44 0.5.0 0.5.0 2017-08-27 12:42:01 +02:00
Yonas Kolb 67c9626d98 add "$(inherited)" when setting automatic carthage FRAMEWORK_SEARCH_PATHS 2017-08-27 12:31:45 +02:00
Yonas Kolb 4d802cf2e8 Merge pull request #40 from yonaskolb/info_plist
Automatically find Info.plist
2017-08-27 12:29:55 +02:00
Yonas Kolb 59d289f6db automatically find Info.plist 2017-08-27 12:28:18 +02:00
Yonas Kolb ee43422d17 Merge pull request #37 from yonaskolb/embed_frameworks
Dependency embed options
2017-08-27 11:56:22 +02:00
Yonas Kolb cb3232df9f add dependency embed settings 2017-08-27 11:55:44 +02:00
Yonas Kolb 1ef53e39f0 change Target.Dependency to a struct with embed 2017-08-27 11:53:16 +02:00
Yonas Kolb 66a78b6165 Merge pull request #38 from yonaskolb/carthage_search_paths
Automatically generate carthage search paths
2017-08-27 11:48:40 +02:00
Yonas Kolb f22bf7aee9 show multi platform example in Readme 2017-08-27 00:01:49 +02:00
Yonas Kolb 57929c51a0 change SDK version defaults 2017-08-26 23:59:37 +02:00
Yonas Kolb d830c3c1e4 automatically generate carthage framework search paths 2017-08-26 23:43:41 +02:00
Yonas Kolb 2f7d1616fb generate fixture 2017-08-26 23:39:58 +02:00
Yonas Kolb 0adce9371c generate carthage group in Frameworks 2017-08-26 22:15:41 +02:00
Yonas Kolb 2f4b1cf782 fix incorrect build setting 2017-08-26 20:24:18 +02:00
Yonas Kolb 2632c1d48b fix setting order application documention 2017-08-26 20:24:11 +02:00
Yonas Kolb d8ffafe4cf rename setting presets to setting groups 2017-08-26 18:38:39 +02:00
Yonas Kolb 7db1f77685 tweak setting preset files 2017-08-26 18:33:06 +02:00
Yonas Kolb 9a9318912f Merge pull request #35 from yonaskolb/multi_platform_targets
Generate multi platform targets
2017-08-26 16:24:56 +02:00
Yonas Kolb da4b382f51 generate multi platform targets 2017-08-26 16:17:15 +02:00
Yonas Kolb 6f9f194863 rename RunScript to BuildScript 2017-08-26 15:01:09 +02:00
Yonas Kolb 5126b0cb7a fixed localized files not being added to build phase of targets 2017-08-26 15:01:09 +02:00
Yonas Kolb 3cfd3ce816 swiftformat 2017-08-25 19:18:02 +02:00