Skip to content

Commit db7f3f7

Browse files
committed
Remove the Package.resolved file
See the .gitignore file for a rationale.
1 parent a7c43e0 commit db7f3f7

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
.DS_Store
33
xcuserdata/
44

5+
# In a lib, [committing the Package.resolved file is not very interesting](<https://forums.swift.org/t/14699/33>).
6+
# An interesting suggestion from the thread is to commit a Package.resolved file wiht the oldest version supported of the dependencies pinned.
7+
# This allows making sure our lib works with the oldest version of the dependencies we support.
8+
# In theory, if semver is properly followed by our dependencies this should not be needed.
9+
/Package.resolved
10+
511
# The SPM build folder
612
/.build/
713
# This folder is used by SPM when a package is put in “edit” mode (`swift

Package.resolved

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)