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 @@ -63,6 +63,17 @@ typically always refer to it that way. A good rule of thumb is to look at the he
63
63
see the header is called simply "ogg.h". Pay attention to capitalization; note that we provide ` CPOSIX ` and not
64
64
` CPosix ` , because POSIX is an acronym and is typically spelled all-caps.
65
65
66
+ We also need to create an empty Package.swift file to let the package
67
+ manager know ` CVorbis ` is a package. Finally, we need to initialize
68
+ this directory as a Git repository, adding all the files we created,
69
+ and tagging it with a version number for the package manager to use:
70
+
71
+ CVorbis$ touch Package.swift
72
+ CVorbis$ git init
73
+ CVorbis$ git add .
74
+ CVorbis$ git ci -m "Creating module package"
75
+ CVorbis$ git tag 1.0.0
76
+
66
77
Back in our example app we need a ` Package.swift ` that depends on CVorbis:
67
78
68
79
``` swift
You can’t perform that action at this time.
0 commit comments