Bladeren bron

Rename Example to SwifterExample (#492)

* Rename Example to SwifterExample

* Update CHANGELOG
Marek Fořt 4 jaren geleden
bovenliggende
commit
d998bf5358
3 gewijzigde bestanden met toevoegingen van 9 en 4 verwijderingen
  1. 4 0
      CHANGELOG.md
  2. 5 4
      Package.swift
  3. 0 0
      SwifterExample/main.swift

+ 4 - 0
CHANGELOG.md

@@ -27,6 +27,10 @@ All notable changes to this project will be documented in this file. Changes not
 * Fix misspell `serialise`. ([#473](https://github.com/httpswift/swifter/pull/473)) by [@mtgto](https://github.com/mtgto)
 * Fix misspell `serialise`. ([#473](https://github.com/httpswift/swifter/pull/473)) by [@mtgto](https://github.com/mtgto)
 * Fix an issue causing Danger was not working properly. ([#486](https://github.com/httpswift/swifter/pull/486)) by [@Vkt0r](https://github.com/Vkt0r)
 * Fix an issue causing Danger was not working properly. ([#486](https://github.com/httpswift/swifter/pull/486)) by [@Vkt0r](https://github.com/Vkt0r)
 
 
+## Changed
+
+- Rename `Example` product to `SwifterExample` ([#492](https://github.com/httpswift/swifter/pull/492) by [@fortmarek](https://github.com/fortmarek))
+
 # [1.5.0]
 # [1.5.0]
 
 
 ## Added
 ## Added

+ 5 - 4
Package.swift

@@ -7,7 +7,7 @@ let package = Package(
 
 
   products: [
   products: [
     .library(name: "Swifter", targets: ["Swifter"]),
     .library(name: "Swifter", targets: ["Swifter"]),
-    .executable(name: "Example", targets: ["Example"])
+    .executable(name: "SwifterExample", targets: ["SwifterExample"])
   ],
   ],
 
 
   dependencies: [],
   dependencies: [],
@@ -20,11 +20,12 @@ let package = Package(
       ),
       ),
 
 
     .target(
     .target(
-      name: "Example", 
+      name: "SwifterExample",
       dependencies: [
       dependencies: [
         "Swifter"
         "Swifter"
       ], 
       ], 
-      path: "Example"),
+      path: "SwifterExample"
+    ),
 
 
     .testTarget(
     .testTarget(
       name: "SwifterTests", 
       name: "SwifterTests", 
@@ -34,4 +35,4 @@ let package = Package(
       path: "Xcode/Tests"
       path: "Xcode/Tests"
     )
     )
   ]
   ]
-)
+)

+ 0 - 0
Example/main.swift → SwifterExample/main.swift