Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Local Swift Package by packages: #808

Merged
merged 26 commits into from
Mar 25, 2020
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
81c2f4e
Added support local package on `packages:`
freddi-kit Mar 5, 2020
80fdc18
Updated Test
freddi-kit Mar 5, 2020
77a3cf4
Changed validateVersion as static
freddi-kit Mar 5, 2020
65fd3a3
Updated Usage
freddi-kit Mar 5, 2020
0fc7c5a
Updated Project Spec
freddi-kit Mar 5, 2020
1985392
Added validation of local package
freddi-kit Mar 5, 2020
e4989a6
Merge branch 'support-local-sp' into support-local-sp-with-packages
freddi-kit Mar 5, 2020
105367b
Fixed local packages is not linked as framework
freddi-kit Mar 5, 2020
80f95b5
Changed local package format of SPM project in Fixtures
freddi-kit Mar 5, 2020
5eb4c33
Merge branch 'support-local-sp' into support-local-sp-with-packages
freddi-kit Mar 18, 2020
ca8136b
Removed localPackages variable
freddi-kit Mar 18, 2020
31aa708
Added old local package format test
freddi-kit Mar 18, 2020
bbbc90c
Updated Project Spec
freddi-kit Mar 18, 2020
e92e8a2
Fixed English Error
freddi-kit Mar 18, 2020
e61dafd
Removed unnecessary space
freddi-kit Mar 18, 2020
a05ec92
Updated CHANGELOG
freddi-kit Mar 18, 2020
defd73f
Removed LocalSwiftPackage
freddi-kit Mar 18, 2020
550df76
Make `SwiftPackage` itself as enum
freddi-kit Mar 19, 2020
a3ddb48
Reverted parsing order of `path` and `url` for making switch package …
freddi-kit Mar 19, 2020
6bbd90c
Removed new style of localPackages implemented at #796
freddi-kit Mar 19, 2020
5c380bf
Removed old localPackages things from Documents
freddi-kit Mar 19, 2020
af3a7e0
Resolve local package name from abstract path
freddi-kit Mar 19, 2020
c3d9e67
Fixed description of Swift Package
freddi-kit Mar 19, 2020
c875775
Update CHANGELOG
freddi-kit Mar 19, 2020
18efe96
Merge branch 'master' into support-local-sp-with-packages
freddi-kit Mar 23, 2020
f024fc3
Update Docs/ProjectSpec.md
freddi-kit Mar 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Docs/ProjectSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can also use environment variables in your configuration file, by using `${S
- [ ] **fileGroups**: **[String]** - A list of paths to add to the root of the project. These aren't files that will be included in your targets, but that you'd like to include in the project hierachy anyway. For example a folder of xcconfig files that aren't already added by any target sources, or a Readme file.
- [ ] **schemes**: **[Scheme](#scheme)** - A list of schemes by name. This allows more control over what is found in [Target Scheme](#target-scheme)
- [ ] **targetTemplates**: **[String: [Target Template](#target-template)]** - a list of targets that can be used as templates for actual targets which reference them via a `template` property. They can be used to extract common target settings. Works great in combination with `include`.
- [ ] **packages**: **[String: [Swift Package](#swift-package)]** - a map of Swift packages by name. The paths must be directories with a `Package.swift` file if specified as local package by `path`.
- [ ] **packages**: **[String: [Swift Package](#swift-package)]** - a map of Swift packages by name.
- [ ] **projectReferences**: **[String: [Project Reference](#project-reference)]** - a map of project references by name

### Include
Expand Down Expand Up @@ -888,7 +888,7 @@ Swift packages are defined at a project level, and then linked to individual tar

### Local Package

- [x] **path**: **String** - the path to the package in local
- [x] **path**: **String** - the path to the package in local. The path must be directory with a `Package.swift` file if specified as local package by `path`.
freddi-kit marked this conversation as resolved.
Show resolved Hide resolved

```yml
packages:
Expand Down