Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fixed logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SotoiGhost committed Sep 28, 2019
1 parent 736d65c commit 4b829fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions poco.cake
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ class PodSpec
};
}

public static PodSpec Create (string name, string version, string targetName = null, string frameworkName = null, FrameworkSource frameworkSource = FrameworkSource.Pods, string [] subSpecs = null, bool useDefaultSubspecs = false, bool canBeBuild = true)
public static PodSpec Create (string name, string version, string targetName = null, string frameworkName = null, FrameworkSource frameworkSource = FrameworkSource.Targets, string [] subSpecs = null, bool useDefaultSubspecs = false, bool canBeBuild = true)
=> Create (name, version, null, null, targetName ?? name, frameworkName ?? name, frameworkSource, subSpecs, useDefaultSubspecs, canBeBuild, PodSource.PodVersion);

public static PodSpec Create (string name, FilePath localPath, string targetName = null, string frameworkName = null, FrameworkSource frameworkSource = FrameworkSource.Pods, string [] subSpecs = null, bool useDefaultSubspecs = false, bool canBeBuild = true)
public static PodSpec Create (string name, FilePath localPath, string targetName = null, string frameworkName = null, FrameworkSource frameworkSource = FrameworkSource.Targets, string [] subSpecs = null, bool useDefaultSubspecs = false, bool canBeBuild = true)
=> Create (name, null, localPath, null, targetName ?? name, frameworkName ?? name, frameworkSource, subSpecs, useDefaultSubspecs, canBeBuild, PodSource.LocalPath);

public static PodSpec Create (string name, Repository repository, string targetName = null, string frameworkName = null, FrameworkSource frameworkSource = FrameworkSource.Pods, string [] subSpecs = null, bool useDefaultSubspecs = false, bool canBeBuild = true)
public static PodSpec Create (string name, Repository repository, string targetName = null, string frameworkName = null, FrameworkSource frameworkSource = FrameworkSource.Targets, string [] subSpecs = null, bool useDefaultSubspecs = false, bool canBeBuild = true)
=> Create (name, null, null, repository, targetName ?? name, frameworkName ?? name, frameworkSource, subSpecs, useDefaultSubspecs, canBeBuild, PodSource.Repository);

public string [] BuildPodLines ()
Expand Down

0 comments on commit 4b829fe

Please sign in to comment.