Commit Graph
57 Commits
Author SHA1 Message Date
Brandon Kase 6b17b76435 Support CompilerFlags in Sources
Added support for compilerFlags in source list. If any source file
metadata (like compilerFlags) is attached to a directory the metadata
propagates downwards to all children recursively until the files are
reached.

Files are now processed in the same way as directories in `getSources`
this depends on #108 to not over-eagerly cache groups. The `source` is
propagated as metadata down all the way (thanks @yonaskolb)

Fixtures and unit tests are updated as well.
2017-11-02 13:47:26 -07:00
Yonas Kolb 01e29e690e add source generator tests 2017-11-02 18:03:12 +01:00
Yonas Kolb 698d8d85b4 change target source from String to Source struct 2017-10-31 17:22:14 +01:00
Yonas Kolb 17b32e6a1a refactored TestProject Fixture
- renamed things
- made framework multiplatform
- integrate carthage
2017-10-29 23:17:16 +01:00
Yonas Kolb 43bacd4626 don't run later fixture tests if changed, so it's clearer in logs what happened 2017-10-29 23:17:16 +01:00
Yonas Kolb 92c2e5c5b5 run format-code.sh 2017-10-29 22:27:05 +01:00
Yonas Kolb f8b4b5792e move and rename files 2017-10-29 22:15:02 +01:00
Yonas Kolb 4fe9a06148 add spec validation tests 2017-10-29 20:45:17 +01:00
Yonas KolbandGitHub e14a85fd69 Merge pull request #113 from yonaskolb/xcproj_1.2
Update to xcproj 1.2
2017-10-28 20:11:18 +02:00
Yonas Kolb a4471e839e update to xcproj 1.2 2017-10-28 20:01:01 +02:00
Yonas Kolb 08079c914e make Settings.configs case insensitive 2017-10-26 21:53:16 +02:00
Yonas Kolb 11abfb0ae2 apply partial matching to Settings.configs 2017-10-26 21:50:45 +02:00
Yonas Kolb 779397ec8d move basePath into ProjectSpec 2017-10-24 21:30:06 +02:00
Yonas Kolb 0204f27c82 rename Options.applySettingPresets to Options.settingPresets 2017-10-22 20:37:03 +01:00
Yonas Kolb 20f7797df7 add applySettingPresets option 2017-10-22 19:41:54 +01:00
Yonas Kolb 6a9de2208a don't apply base project settings if config doesn't have a type 2017-10-20 12:24:52 +01:00
Keith Smiley 894f00428a Add tests for PBXProductType booleans 2017-10-18 08:50:55 -07:00
ryohey bc9c007c53 add test for variant groups 2017-10-16 11:51:28 +09:00
Yonas Kolb 836fa4d3fd update xcodeproj to xcproj in tests 2017-10-01 11:43:27 +02:00
Yonas Kolb 8a7bfa12fc format code 2017-09-26 14:22:15 +02:00
Yonas KolbandGitHub f3a60d5358 Merge pull request #68 from yonaskolb/include_replace
Add replace syntax for Include
2017-09-25 17:33:20 +02:00
Yonas KolbandGitHub 658c3f8477 Merge pull request #67 from yonaskolb/bundleIdPrefix
Add bundleIdPrefix
2017-09-25 17:26:44 +02:00
Yonas Kolb b1888dc62f fail fixture test if project has changed 2017-09-25 16:12:33 +02:00
Yonas Kolb d20d6b56bf add bundleIdPrefix tests 2017-09-25 15:30:28 +02:00
Yonas Kolb c9e8e68bc5 move bundleIdPrefix to options 2017-09-25 15:30:15 +02:00
Yonas Kolb c9c589c5ee add optional replace syntax when merging includes 2017-09-25 13:34:11 +02:00
Yonas Kolb 061bddd18b ability to override target name 2017-09-14 21:04:33 +02:00
Yonas Kolb d5204199f3 add target modification in include test 2017-09-14 21:00:52 +02:00
Yonas Kolb 38bc3be64b change yaml targets from list to map 2017-09-14 20:53:34 +02:00
Yonas Kolb 86b3e1334e load setting preset for combination of product and platform 2017-08-30 17:19:53 +02:00
Yonas Kolb 6774934a1b support include array in spec that merges other specs 2017-08-30 12:58:10 +02:00
Yonas Kolb cb3232df9f add dependency embed settings 2017-08-27 11:55:44 +02:00
Yonas Kolb d8ffafe4cf rename setting presets to setting groups 2017-08-26 18:38:39 +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 3cfd3ce816 swiftformat 2017-08-25 19:18:02 +02:00
Yonas Kolb 6c7cca1092 add option for carthageBuildPath 2017-08-25 16:22:40 +02:00
Yonas Kolb e77faeddf3 upgrade to xcodeproj 0.1.1 2017-08-25 15:31:50 +02:00
Yonas Kolb fc72702e33 update to xcodeproj 0.1.0 2017-08-25 15:05:31 +02:00
Yonas Kolb edca4390e4 add BuildScript.runOnlyWhenInstalling 2017-08-24 17:02:27 +02:00
Yonas Kolb 823eceba75 add unit tests to target schemes 2017-08-04 00:23:52 +02:00
Yonas Kolb 7a390bb31a change scheme build targets schema 2017-08-03 22:02:49 +02:00
Yonas Kolb 63bdd95a6b add more run script tests 2017-08-02 13:27:57 +02:00
Yonas Kolb 9cc1e50824 add run script support 2017-08-01 18:40:40 +02:00
Yonas Kolb 560cec746a add format code script 2017-07-31 12:32:50 +02:00
Yonas Kolb 4614073cfa rename Spec to ProjectSpec and moved into its own module 2017-07-28 16:32:35 +02:00
Yonas Kolb 2357146b06 overhaul build settings 2017-07-27 14:41:18 +02:00
Yonas Kolb 9d5342d301 buildPresets 2017-07-26 23:18:45 +02:00
Yonas Kolb 4e35dc6b02 remove Spec.configVariants and move to Target.generateSchemes 2017-07-26 19:58:34 +02:00
Yonas Kolb 0426e1bee0 more tests 2017-07-26 18:52:07 +02:00