Skip to content

Commit

Permalink
update readme and generator
Browse files Browse the repository at this point in the history
  • Loading branch information
mackoj committed Oct 21, 2022
1 parent 21db794 commit a129777
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "scheme-generator",
url: "https://github.com/mackoj/SchemeGenerator/releases/download/0.3.0/scheme-generator.artifactbundle.zip",
checksum: "80767ae49f38b46ed23e76dca668599a7d2b4b86cb823842967391ffb04b131f"
url: "https://github.com/mackoj/SchemeGenerator/releases/download/0.4.0/scheme-generator.artifactbundle.zip",
checksum: "e5e6d3d66419d2d09215c572fd11432f151889ff307c46410c5a2bc1fbaadf97"
),
.plugin(
name: "SchemeGeneratorPlugin",
Expand Down
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# SchemeGeneratorPlugin

A description of this package.
This plugin allow to generate schemes automatically.
This is very usefull when using TCA or any SPM based project.

It works only for mac using apple silicon.

## Usage

To use it you have to set a configuration file at the root of your project named `scheme_generator.yaml`.
This file contain.
```yaml
# Where the schemes will be saved
schemesDirectory: ""

# Remove schemes that are not in the Package.swift anymore
removeNotGeneratedSchemes: true

# Force the overwrite of already present scheme
overwriteAlreadyGeneratedSchemes: false

# This allow to have more info in the console for debug purpose
verbose: false
```
Have fun

0 comments on commit a129777

Please sign in to comment.