File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,17 @@ typically always refer to it that way. A good rule of thumb is to look at the he
76
76
see the header is called simply "ogg.h". Pay attention to capitalization; it would be ` CPOSIX ` and not
77
77
` CPosix ` , because POSIX is an acronym and is typically spelled all-caps.
78
78
79
+ We also need to create an empty Package.swift file to let the package
80
+ manager know ` CVorbis ` is a package. Finally, we need to initialize
81
+ this directory as a Git repository, adding all the files we created,
82
+ and tagging it with a version number for the package manager to use:
83
+
84
+ CVorbis$ touch Package.swift
85
+ CVorbis$ git init
86
+ CVorbis$ git add .
87
+ CVorbis$ git ci -m "Creating module package"
88
+ CVorbis$ git tag 1.0.0
89
+
79
90
Back in our example app we need a ` Package.swift ` that depends on CVorbis:
80
91
81
92
``` swift
You can’t perform that action at this time.
0 commit comments