Skip to content

Commit 4bc38e3

Browse files
authored
docs: Ignore Package.resolved files in example directories (#107)
Motivation ---------- New users should always build the examples using the latest available versions of their dependencies. `Package.resolved` files generated when building the examples should not be checked into the repository by accident. Modifications ------------- Add `Package.resolved` to `.gitignore` files in all example directories. Result ------ Git will ignore `Package.resolved` files in the example directories. Test Plan --------- All tests continue to pass.
1 parent 88633f5 commit 4bc38e3

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

Examples/HelloWorldHummingbird/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ DerivedData/
66
.swiftpm/configuration/registries.json
77
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
88
.netrc
9+
/Package.resolved

Examples/HelloWorldVapor/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ DerivedData/
66
.swiftpm/configuration/registries.json
77
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
88
.netrc
9+
/Package.resolved
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.DS_Store
2+
/.build
3+
/Packages
4+
xcuserdata/
5+
DerivedData/
6+
.swiftpm/configuration/registries.json
7+
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
8+
.netrc
9+
/Package.resolved

0 commit comments

Comments
 (0)