We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28dbb51 commit 818b0f4Copy full SHA for 818b0f4
Makefile
@@ -12,7 +12,7 @@ generate-docs:
12
# Dynamically add the swift-docc-plugin for doc generation
13
cp Package.swift Package.swift.bak
14
for manifest in Package.swift Package@*.swift ; do \
15
- if [[ -f "$$manifest" ]] && ! grep -E -i "https://github.com/(apple|swiftlang)/swift-docc-plugin" "$$manifest" ; then \
+ if [ -f "$$manifest" ] && ! grep -E -i "https://github.com/(apple|swiftlang)/swift-docc-plugin" "$$manifest" ; then \
16
echo "package.dependencies.append(" >> "$$manifest" ; \
17
echo " .package(url: \"https://github.com/swiftlang/swift-docc-plugin\", from: \"1.4.5\")" >> "$$manifest" ; \
18
echo ")" >> "$$manifest" ; \
0 commit comments