Commit Graph
100 Commits
Author SHA1 Message Date
Yonas KolbandGitHub a9c56960fb Merge pull request #221 from anreitersimon/feature/target-attributes
Generate UI Test Target Attributes
2018-01-10 12:44:08 +08:00
SMN a5d5de0d29 fixes wrong dependecy being tested 2018-01-06 16:45:44 +01:00
SMN 46c775c806 adds tests for target attributes 2018-01-06 16:37:25 +01:00
Keith Smiley b6ef82b3df Add new option for disabling validations
This gives us an entry point for disabling specific project.yml
validations that sometimes shouldn't apply. The first example is
missingConfigs, which, if you use your .yml file in multiple projects,
can be too strict if the projects have different top level
configurations.
2018-01-05 11:41:33 -08:00
Alvar Hansen fc9bb5f4e0 Filter out duplicate file references from sources build phase 2018-01-03 13:08:04 +02:00
Yonas Kolb 0bc2f3415e minor 2017-12-26 22:46:36 +08:00
Yonas Kolb 75e0644b99 wrap long lines 2017-12-26 18:47:18 +08:00
Yonas Kolb e75b1c1e89 format code 2017-12-26 17:56:02 +08:00
Yonas KolbandGitHub 554a9d2524 Merge pull request #205 from yonaskolb/platform_version
Add deployment target
2017-12-26 17:55:14 +08:00
Yonas Kolb e3a6739b2a rename deploymentTargets to deploymentTarget 2017-12-26 17:48:01 +08:00
Yonas Kolb cd6d179325 rename platformVersion to deploymentTarget 2017-12-26 17:36:41 +08:00
Yonas Kolb 4a90d33951 Add Version type 2017-12-26 17:36:41 +08:00
Yonas Kolb 09620aa2b7 add platform version tests 2017-12-26 17:36:22 +08:00
Yonas KolbandGitHub d4fc0916a2 Merge pull request #203 from yonaskolb/scheme_build_types
Change Scheme.Build.targets spec
2017-12-26 16:40:11 +08:00
Yonas Kolb a53b3b93b9 fix tests 2017-12-22 18:59:23 +08:00
Yonas Kolb cf6df044cf add TargetSource.buildPhase for overriding build phase 2017-12-22 18:57:15 +08:00
Yonas Kolb 7c7bbce783 refactor TargetScheme -> Scheme initialization 2017-12-21 19:02:29 +08:00
Yonas Kolb e7b9d99b4c allow scheme build target build types to be defined with an array 2017-12-21 18:26:19 +08:00
Alvar Hansen 24c8668eb7 Allow missing files in sources
Adds `optional` flag to `TargetSource` to allow files that do not exist yet.
This is useful in cases where build script will generate files.
2017-12-21 11:33:04 +02:00
Yonas Kolb 5a30baf77e add xcodeVersion option 2017-12-20 23:13:31 +08:00
Yonas Kolb 0a712a3adc add more source excludes tests 2017-12-20 22:39:26 +08:00
Yonas Kolb 9676d1340b update to xcproj 1.6.0 2017-12-05 20:57:31 +01:00
Yonas KolbandGitHub 04b31acabf remove duplicate test 2017-11-21 14:11:47 +01:00
Yonas KolbandGitHub 885a4fe321 Merge pull request #158 from bkase/fast-xcproj
Updates for xcproj updates to PBXProj
2017-11-20 11:48:45 +01:00
Peyman Khanjan b73aca231a Fix TargetSource excludes tests. 2017-11-19 15:20:45 +00:00
rmalik f2c4ebabfd Update XcodeGen for latest performance fixes in xcproj 2017-11-16 15:37:53 -08:00
Yonas Kolb 0004cdd333 Update to 1.4.0 2017-11-16 11:49:30 +01:00
ryohey 3fb7a15c74 Fix option parsing 2017-11-16 01:45:28 +09:00
Yonas Kolb cf426ba5eb add ProjectSpec.options.developmentLanguage 2017-11-15 12:13:32 +01:00
Yonas Kolb 034eb4a448 tweaked format of generated references
- more characters
- underscore after type name
- remove duplication count unless greater than 1
2017-11-15 11:29:10 +01:00
Yonas Kolb ce0f3b5665 add folder reference support 2017-11-15 01:22:02 +01:00
Yonas Kolb 2c1789f717 add duplicate name test 2017-11-14 20:27:46 +01:00
Yonas Kolb e8188ad9f8 swiftformat 2017-11-13 21:33:59 +01:00
Yonas Kolb bf6d8aa464 fix cyclical target dependencies 2017-11-12 20:43:07 +01:00
Yonas KolbandGitHub 63c2d08977 add TargetSource.name for renaming sources (#146) 2017-11-12 20:26:36 +01:00
Yonas KolbandGitHub a2c41917e5 Fix groups (#144)
* failing createIntermediateDirectories test

* refactor sources

* add reference generator tests
2017-11-12 18:52:11 +01:00
Yonas Kolb 975cc8b98e fix merge conflict 2017-11-11 00:25:10 +01:00
Peyman KhanjanandYonas Kolb 91729a9694 Add support for simple files excludes from sources #5. (#135)
* Add support for simple files excludes from sources #5.

* Add pattern matching for Source excludes #5.

* Simplify getting Source.excludes from jsonDictionary.

* Remove recursive pattern matching and formatting.
2017-11-11 00:22:07 +01:00
Yonas KolbandGitHub 94a449c647 Merge pull request #139 from bkase/xcassets-as-files
Support paths directly to xcassets
2017-11-10 23:31:53 +01:00
Yonas Kolb 7cdc496f45 test refactoring 2017-11-10 23:28:16 +01:00
Yonas Kolb be4767be36 add failing test for shared sources 2017-11-09 22:47:53 +01:00
Brandon Kase 496a7cc4b0 Support paths directly to xcassets
Pretend xcassets are files to allow top-level xcassets in the spec.
2017-11-08 11:10:21 -08:00
rmalik 91056efc8a Load json files directly with NSJSONSerialization if the spec path extension is
`json`
2017-11-03 12:10:00 -07:00
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