Brentley Jones
ab37654b01
Fix aggregate target dependencies with transitivelyLinkDependencies
2018-08-22 08:56:56 -05:00
Yonas Kolb
75ac3b5669
make format_code
2018-08-19 14:22:42 +10:00
Yonas Kolb
a1418fe4dd
allow aggregateTargets to be dependencies
2018-08-19 13:47:27 +10:00
Vlad Gorloff
90b0d18dbe
Fixes issue with wrong build phase for Metal files. https://github.com/yonaskolb/XcodeGen/issues/379
2018-08-17 09:22:06 +02:00
Brentley Jones and GitHub
461de39f8e
Merge pull request #366 from brentleyjones/static-library-swift-objc-interface-header
...
Automatically copy Swift.h header for static libraries
2018-08-09 09:58:39 -05:00
Brentley Jones
732df18976
Fix test name
2018-08-09 09:52:29 -05:00
Brentley Jones
5f2b4074a6
Automatically copy Swift.h header for static libraries
2018-08-09 09:52:18 -05:00
Yonas Kolb and GitHub
907e276394
Merge pull request #364 from rpassis/bugfix/CoreDataVersioning
...
Improvements to determining the current version of a versioned CoreData model
2018-08-02 22:37:35 +10:00
Brentley Jones
57966c4e15
Cleanup minimumXcodeGenVersion tests
2018-08-02 07:21:04 -05:00
Brentley Jones
96ac557b96
Refactor minimumXcodeGenVersion to be less pervasive
2018-08-02 07:19:37 -05:00
Brentley Jones
76192fb944
Add minimumXcodeGenVersion option
...
If XcodeGen's version is less than this version validation will fail.
2018-08-02 07:19:37 -05:00
Rogerio de Paula Assis
9831711c2c
Adds parsing of .xccurrentversion inside a CoreData versioned model to determine its current active version
2018-07-31 08:01:39 +10:00
Brentley Jones
ba6f3d0fd3
Default directlyEmbedCarthageDependencies to true for more targets
...
`directlyEmbedCarthageDependencies` is only `false` now for iOS/tvOS/watchOS applications.
2018-07-26 08:20:39 -05:00
Brentley Jones
b18cd551cb
Default directlyEmbedCarthageDependencies to true for tests
2018-07-24 19:56:08 -05:00
Yonas Kolb and GitHub
b8058827c1
Merge pull request #356 from yonaskolb/sorting
...
Change group sorting
2018-07-24 23:34:15 +10:00
Brentley Jones
15af4fd1d9
Add requiresObjCLinking to Target
...
Allows a Target to indicate that any target that links to it needs to set `-ObjC` in `OTHER_LDFLAGS`.
2018-07-24 08:03:03 -05:00
Yonas Kolb
91d2177f84
sort groups under files
2018-07-24 22:45:52 +10:00
Yonas Kolb
e915fdf421
add sorting test
2018-07-24 22:44:35 +10:00
Yonas Kolb
2be5aabaff
sort Projects and Frameworks groups at the end
2018-07-24 22:44:35 +10:00
Yonas Kolb
884490f955
add attributes to AggregateTarget
2018-07-24 22:05:29 +10:00
Yonas Kolb
3b17164bbf
add aggregate targets
2018-07-24 22:05:29 +10:00
Yonas Kolb and GitHub
31c3f1de0f
Merge pull request #355 from yonaskolb/target_template
...
Add target templates
2018-07-24 22:03:10 +10:00
Brentley Jones
d6832479e4
Stop linking dynamic frameworks to static libraries
2018-07-23 09:23:14 -05:00
Brentley Jones
2e53422f82
Transitively link library.static dependencies
2018-07-23 09:23:14 -05:00
Brentley Jones
0afd7058bb
Only link static libraries to executables
2018-07-23 09:23:14 -05:00
Yonas Kolb
c9ab3af76e
merge target onto templates
2018-07-23 20:27:50 +10:00
Yonas Kolb
c50d1dd157
add target templates
2018-07-22 21:49:39 +10:00
Keith Smiley
ff0e403e52
Add showEnvVars to build scripts
...
This allows us to disable printing the environment in build logs.
2018-07-20 10:13:50 -07:00
Brentley Jones
b7ba3628e9
Fix typo "transient" -> "transitive"
2018-07-03 13:34:20 -05:00
Yonas Kolb
01815e7e4e
Update to 1.10.0
2018-07-03 21:45:00 +10:00
Yonas Kolb and GitHub
be3a4dd1f6
Merge pull request #327 from brentleyjones/transitively-embed
...
Transitively embed dependencies
2018-07-02 12:01:29 +10:00
Brentley Jones
55b0ed1eeb
Add option to turn off transiently linking dependencies
2018-06-29 14:04:31 -05:00
Brentley Jones
dd4f2e437a
Transitively embed dependencies
...
If a target embeds dependencies (i.e. App and Test bundles) and a dependency has dependencies that can be embedded, then we should embed those dependencies as long as they weren't embedded along the way.
2018-06-29 13:17:02 -05:00
Brentley Jones
79e2413fa7
Fix excluding directories that have sub-directories
2018-06-28 18:53:14 -05:00
Yonas Kolb
d9f5744ca3
add build rule unit tests
2018-06-27 22:41:14 +10:00
Yonas Kolb
bf61995f72
fix decoding dictionaries with dot keys
2018-06-26 21:29:44 +10:00
Yonas Kolb
438869e997
make format_code
2018-06-08 15:21:25 +10:00
Yonas Kolb
0e1f039055
integrate XCTest with Spectre for nicer tests in Xcode
2018-06-08 15:12:42 +10:00
Yonas Kolb
5d611e008a
test excluding .xcodeproj
2018-06-03 16:49:09 +10:00
Yonas Kolb and GitHub
c755458f90
Merge pull request #308 from yonaskolb/ks/frameworks
...
Support frameworks in source paths
2018-05-24 16:26:35 +10:00
Yonas Kolb and GitHub
701df1c915
Merge pull request #306 from yonaskolb/build_rule
...
Add build rules
2018-05-24 16:22:06 +10:00
Keith Smiley
853c98bac1
Support frameworks in source paths
...
This adds support for users passing pre-compiled frameworks in as a
source file of a target, and correctly adding it to the copy frameworks
build phase. Previously it would be added to the copy resources build
phase.
2018-05-16 17:18:46 -07:00
Yonas Kolb
5f99d0c82d
always generate Sources build phase
2018-05-14 10:38:43 +10:00
Yonas Kolb
fe39aa8f71
use compactMap in tests
2018-05-13 18:52:13 +10:00
Yonas Kolb
542668d9f0
add build rules
2018-05-13 17:13:48 +10:00
Yonas Kolb
bc0e90c3d6
Update to 1.9.0
2018-04-12 23:32:40 +10:00
Yonas Kolb
29f4fa2123
Rename uses of spec to project
2018-04-12 23:17:07 +10:00
Yonas Kolb and Yonas Kolb
e589364ae8
rename ProjectSpec to Project and Project.Options to SpecOptions
2018-04-12 23:13:12 +10:00
Yonas Kolb
e9ec34cace
update Yams to fix quoted values
2018-03-30 19:24:19 +11:00
Yonas Kolb
c89a665bba
add target scheme pre and post action tests
2018-03-30 02:10:42 +11:00