Skip to content

Commit 6056e44

Browse files
committed
Remove the Package.resolved file
See the .gitignore file for a rationale.
1 parent 0a2f9bb commit 6056e44

File tree

2 files changed

+6
-25
lines changed

2 files changed

+6
-25
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 & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)