Skip to content

Commit 488369d

Browse files
committed
Include completion scripts in Darwin package
1 parent a933c43 commit 488369d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Documentation/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,4 @@ for the corresponding `false` value.
224224

225225
DrString has a lot of CLI options! You may install one of the completion scripts
226226
included in the project if one exists for your shell. You can find them
227-
[here](../../Scirpts/completions).
227+
[here](../../Scripts/completions).

Scripts/package-darwin.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ SWIFT_PATH=$(xcrun --find swift)
77
rm -rf $LIB_PATH
88
rm -rf $BIN_PATH
99
mkdir -p $LIB_PATH
10-
mkdir -p $BUILD_PATH/bin
10+
mkdir -p $BUILD_PATH/{bin,completions}
11+
cp -r Scripts/completions/* $BUILD_PATH/completions
1112
cp .build/release/drstring $BIN_PATH
1213
cp "$(dirname $SWIFT_PATH)/../lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib" $LIB_PATH/lib_InternalSwiftSyntaxParser.dylib
1314
install_name_tool -add_rpath @executable_path/../lib $BIN_PATH
14-
tar -C $BUILD_PATH -czf drstring.tar.gz bin lib
15+
tar -C $BUILD_PATH -czf drstring.tar.gz bin lib completions
1516
mv drstring.tar.gz .build

0 commit comments

Comments
 (0)